Class AutocompleteAttribute
The autocomplete attribute.
Inheritance
System.Object
System.Attribute
AutocompleteAttribute
Namespace: DisCatSharp.ApplicationCommands.Attributes
Assembly: DisCatSharp.ApplicationCommands.dll
Syntax
[AttributeUsage(AttributeTargets.Parameter)]
public class AutocompleteAttribute : Attribute
Constructors
| Improve this Doc View SourceAutocompleteAttribute(Type)
Adds an autocomplete provider to this command option.
Declaration
public AutocompleteAttribute(Type providerType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | providerType | The type of the provider. |
Properties
| Improve this Doc View SourceProviderType
The type of the provider.
Declaration
public Type ProviderType { get; }
Property Value
Type | Description |
---|---|
System.Type |