Table of Contents

Class ComponentInteractionInfo<TContext>

Namespace
NetCord.Services.ComponentInteractions
Assembly
NetCord.Services.dll
public class ComponentInteractionInfo<TContext> where TContext : IComponentInteractionContext

Type Parameters

TContext
Inheritance
ComponentInteractionInfo<TContext>
Inherited Members

Properties

InvokeAsync

public Func<object?[]?, TContext, IServiceProvider?, ValueTask> InvokeAsync { get; }

Property Value

Func<object[], TContext, IServiceProvider, ValueTask>

Parameters

public IReadOnlyList<ComponentInteractionParameter<TContext>> Parameters { get; }

Property Value

IReadOnlyList<ComponentInteractionParameter<TContext>>

Preconditions

public IReadOnlyList<PreconditionAttribute<TContext>> Preconditions { get; }

Property Value

IReadOnlyList<PreconditionAttribute<TContext>>