Class ComponentInteractionParameterAttribute
- Namespace
- NetCord.Services.ComponentInteractions
- Assembly
- NetCord.Services.dll
Specifies metadata for a parameter of a component interaction.
[AttributeUsage(AttributeTargets.Parameter)]
public class ComponentInteractionParameterAttribute : Attribute
- Inheritance
-
ComponentInteractionParameterAttribute
- Inherited Members
Constructors
ComponentInteractionParameterAttribute()
public ComponentInteractionParameterAttribute()
Properties
Name
Name of the parameter.
public string? Name { get; init; }
Property Value
TypeReaderType
Type reader for the parameter, used to convert the input value to the specified type.
public Type? TypeReaderType { get; init; }