Class BooleanTypeReader<TContext>
- Namespace
- NetCord.Services.ApplicationCommands.TypeReaders
- Assembly
- NetCord.Services.dll
public class BooleanTypeReader<TContext> : SlashCommandTypeReader<TContext> where TContext : IApplicationCommandContext
Type Parameters
TContext
- Inheritance
-
SlashCommandTypeReader<TContext>BooleanTypeReader<TContext>
- Inherited Members
Constructors
BooleanTypeReader()
public BooleanTypeReader()
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