Class BooleanTypeReader<TContext>
- Namespace
- NetCord.Services.Commands.TypeReaders
- Assembly
- NetCord.Services.dll
public class BooleanTypeReader<TContext> : CommandTypeReader<TContext> where TContext : ICommandContext
Type Parameters
TContext
- Inheritance
-
CommandTypeReader<TContext>BooleanTypeReader<TContext>
- Inherited Members
Constructors
BooleanTypeReader()
public BooleanTypeReader()
Methods
ReadAsync(ReadOnlyMemory<char>, TContext, CommandParameter<TContext>, CommandServiceConfiguration<TContext>, IServiceProvider?)
public override ValueTask<TypeReaderResult> ReadAsync(ReadOnlyMemory<char> input, TContext context, CommandParameter<TContext> parameter, CommandServiceConfiguration<TContext> configuration, IServiceProvider? serviceProvider)
Parameters
input
ReadOnlyMemory<char>context
TContextparameter
CommandParameter<TContext>configuration
CommandServiceConfiguration<TContext>serviceProvider
IServiceProvider