Table of Contents

Class CommandTypeReader<TContext>

Namespace
NetCord.Services.Commands
Assembly
NetCord.Services.dll
public abstract class CommandTypeReader<TContext> where TContext : ICommandContext

Type Parameters

TContext
Inheritance
CommandTypeReader<TContext>
Derived
Inherited Members

Constructors

CommandTypeReader()

protected CommandTypeReader()

Methods

ReadAsync(ReadOnlyMemory<char>, TContext, CommandParameter<TContext>, CommandServiceConfiguration<TContext>, IServiceProvider?)

public abstract ValueTask<TypeReaderResult> ReadAsync(ReadOnlyMemory<char> input, TContext context, CommandParameter<TContext> parameter, CommandServiceConfiguration<TContext> configuration, IServiceProvider? serviceProvider)

Parameters

input ReadOnlyMemory<char>
context TContext
parameter CommandParameter<TContext>
configuration CommandServiceConfiguration<TContext>
serviceProvider IServiceProvider

Returns

ValueTask<TypeReaderResult>