Table of Contents

Class SingleTypeReader<TContext>

Namespace
NetCord.Services.ComponentInteractions.TypeReaders
Assembly
NetCord.Services.dll
public class SingleTypeReader<TContext> : ComponentInteractionTypeReader<TContext> where TContext : IComponentInteractionContext

Type Parameters

TContext
Inheritance
SingleTypeReader<TContext>
Inherited Members

Constructors

SingleTypeReader()

public SingleTypeReader()

Methods

ReadAsync(ReadOnlyMemory<char>, TContext, ComponentInteractionParameter<TContext>, ComponentInteractionServiceConfiguration<TContext>, IServiceProvider?)

public override ValueTask<TypeReaderResult> ReadAsync(ReadOnlyMemory<char> input, TContext context, ComponentInteractionParameter<TContext> parameter, ComponentInteractionServiceConfiguration<TContext> configuration, IServiceProvider? serviceProvider)

Parameters

input ReadOnlyMemory<char>
context TContext
parameter ComponentInteractionParameter<TContext>
configuration ComponentInteractionServiceConfiguration<TContext>
serviceProvider IServiceProvider

Returns

ValueTask<TypeReaderResult>