Class TagAttribute
Adds a tag to rule's metadata. A rule class can have multiple tag attributes, and also inherits tag attributes from its parent classes. Tags can be used to filter rules when loading them through fluent load specification.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class TagAttribute : Attribute
- Inheritance
-
TagAttribute
- Inherited Members
Remarks
A custom tag attribute class could be inherited from the TagAttribute to provide strongly-typed version of a tag.
Constructors
TagAttribute(string)
Adds a tag to rule's metadata. A rule class can have multiple tag attributes, and also inherits tag attributes from its parent classes. Tags can be used to filter rules when loading them through fluent load specification.
public TagAttribute(string value)
Parameters
value
string
Remarks
A custom tag attribute class could be inherited from the TagAttribute to provide strongly-typed version of a tag.