Class CharTypeReader<TContext>
- Namespace
- NetCord.Services.Commands.TypeReaders
- Assembly
- NetCord.Services.dll
public class CharTypeReader<TContext> : CommandTypeReader<TContext> where TContext : ICommandContext
Type Parameters
TContext
- Inheritance
-
CommandTypeReader<TContext>CharTypeReader<TContext>
- Inherited Members
Constructors
CharTypeReader()
public CharTypeReader()
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