Class UserTypeReader<TContext>
- Namespace
- NetCord.Services.ApplicationCommands.TypeReaders
- Assembly
- NetCord.Services.dll
public class UserTypeReader<TContext> : SlashCommandTypeReader<TContext> where TContext : IApplicationCommandContext
Type Parameters
TContext
- Inheritance
-
SlashCommandTypeReader<TContext>UserTypeReader<TContext>
- Inherited Members
Constructors
UserTypeReader()
public UserTypeReader()
Properties
Type
public override ApplicationCommandOptionType Type { get; }
Property Value
Methods
ReadAsync(string, TContext, SlashCommandParameter<TContext>, ApplicationCommandServiceConfiguration<TContext>, IServiceProvider?)
public override ValueTask<TypeReaderResult> ReadAsync(string value, TContext context, SlashCommandParameter<TContext> parameter, ApplicationCommandServiceConfiguration<TContext> configuration, IServiceProvider? serviceProvider)
Parameters
value
stringcontext
TContextparameter
SlashCommandParameter<TContext>configuration
ApplicationCommandServiceConfiguration<TContext>serviceProvider
IServiceProvider