Table of Contents
API reference

Class RequiresFeatureAttribute

Namespace
DisCatSharp.Attributes
Assembly
DisCatSharp.Attributes.dll

Informs that something requires a certain feature to use it.

[AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
public sealed class RequiresFeatureAttribute : Attribute
Inheritance
RequiresFeatureAttribute
Inherited Members

Constructors

RequiresFeatureAttribute(Features)

Initializes a new instance of the RequiresFeatureAttribute class.

RequiresFeatureAttribute(Features, string)

Initializes a new instance of the RequiresFeatureAttribute class with specified features and a message.

Properties

Features

The required features.

Message

The additional information message.