Class WorkflowElementCategoryAttribute
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
Determines the category of the workflow element this attribute is bound to.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class WorkflowElementCategoryAttribute : Attribute, _Attribute
- Inheritance
-
WorkflowElementCategoryAttribute
- Implements
- Inherited Members
Constructors
WorkflowElementCategoryAttribute(ElementCategory)
Initializes a new instance of the WorkflowElementCategoryAttribute class with the specified category.
public WorkflowElementCategoryAttribute(ElementCategory category)
Parameters
category
ElementCategoryThe category of the workflow element this attribute is bound to.
Fields
Default
Specifies the default value for the WorkflowElementCategoryAttribute. This field is read-only.
public static readonly WorkflowElementCategoryAttribute Default
Field Value
Properties
Category
Gets the category of the workflow element this attribute is bound to.
public ElementCategory Category { get; }