Class UserIdTypeReader<TContext>
- Namespace
- NetCord.Services.Commands.TypeReaders
- Assembly
- NetCord.Services.dll
public class UserIdTypeReader<TContext> : CommandTypeParser<TContext> where TContext : ICommandContext
Type Parameters
TContext
- Inheritance
-
CommandTypeReader<TContext>CommandTypeParser<TContext>UserIdTypeReader<TContext>
- Inherited Members
Constructors
UserIdTypeReader()
public UserIdTypeReader()
Methods
ParseAsync(ReadOnlyMemory<char>, TContext, CommandParameter<TContext>, CommandServiceConfiguration<TContext>, IServiceProvider?)
public override ValueTask<CommandTypeParserResult> ParseAsync(ReadOnlyMemory<char> input, TContext context, CommandParameter<TContext> parameter, CommandServiceConfiguration<TContext> configuration, IServiceProvider? serviceProvider)
Parameters
inputReadOnlyMemory<char>contextTContextparameterCommandParameter<TContext>configurationCommandServiceConfiguration<TContext>serviceProviderIServiceProvider