Table of Contents

Class CodeBlockTypeReader<TContext>

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

Type Parameters

TContext
Inheritance
CodeBlockTypeReader<TContext>
Inherited Members

Constructors

CodeBlockTypeReader()

public CodeBlockTypeReader()

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 TContext
parameter CommandParameter<TContext>
configuration CommandServiceConfiguration<TContext>
serviceProvider IServiceProvider

Returns

ValueTask<TypeReaderResult>