Table of Contents

Class AttachmentTypeReader<TContext>

Namespace
NetCord.Services.ApplicationCommands.TypeReaders
Assembly
NetCord.Services.dll
public class AttachmentTypeReader<TContext> : SlashCommandTypeReader<TContext> where TContext : IApplicationCommandContext

Type Parameters

TContext
Inheritance
AttachmentTypeReader<TContext>
Inherited Members

Constructors

AttachmentTypeReader()

public AttachmentTypeReader()

Properties

Type

public override ApplicationCommandOptionType Type { get; }

Property Value

ApplicationCommandOptionType

Methods

ReadAsync(string, TContext, SlashCommandParameter<TContext>, ApplicationCommandServiceConfiguration<TContext>, IServiceProvider?)

public override ValueTask<TypeReaderResult> ReadAsync(string value, TContext context, SlashCommandParameter<TContext> parameter, ApplicationCommandServiceConfiguration<TContext> configuration, IServiceProvider? serviceProvider)

Parameters

value string
context TContext
parameter SlashCommandParameter<TContext>
configuration ApplicationCommandServiceConfiguration<TContext>
serviceProvider IServiceProvider

Returns

ValueTask<TypeReaderResult>