Table of Contents
API reference

Class FileTypesAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

Defines allowed file types for an attachment parameter.

[AttributeUsage(AttributeTargets.Parameter)]
public class FileTypesAttribute : Attribute
Inheritance
FileTypesAttribute
Inherited Members

Constructors

FileTypesAttribute(params string[])

Defines allowed file types for an attachment parameter.

Properties

FileTypes

Allowed file types.