Constructor WorkflowNamespaceIconAttribute
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
WorkflowNamespaceIconAttribute(string)
Initializes a new instance of the WorkflowNamespaceIconAttribute class with the name of the default icon resource used to represent namespaces in the assembly this attribute is bound to.
public WorkflowNamespaceIconAttribute(string name)
Parameters
namestringThe name of the default icon resource used to represent namespaces in the assembly this attribute is bound to.
WorkflowNamespaceIconAttribute(string, string)
Initializes a new instance of the WorkflowNamespaceIconAttribute class with a specific namespace that will be matched against workflow element types in the assembly this attribute is bound to, and the name of the icon resource used to represent the namespace in case of a successful match.
public WorkflowNamespaceIconAttribute(string ns, string name)
Parameters
nsstringThe specific namespace that will be matched against workflow element types in the assembly this attribute is bound to. If this value is null or empty, the match will be successful against any namespace.
namestringThe name of the icon resource used to represent the namespace in the assembly this attribute is bound to.