Constructor WorkflowElementIconAttribute
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
WorkflowElementIconAttribute(string)
Initializes a new instance of the WorkflowElementIconAttribute class with the name of the icon resource that should represent the workflow element.
public WorkflowElementIconAttribute(string name)
Parameters
name
stringThe name of the icon resource that should represent the workflow element this attribute is bound to.
WorkflowElementIconAttribute(Type, string)
Initializes a new instance of the WorkflowElementIconAttribute class with the name of the icon resource that should represent the workflow element, scoped by the namespace of the specified type.
public WorkflowElementIconAttribute(Type type, string name)
Parameters
type
TypeThe type that will be used to scope the name of the icon resource.
name
stringThe name of the icon resource that should represent the workflow element this attribute is bound to.
WorkflowElementIconAttribute(string, string)
Initializes a new instance of the WorkflowElementIconAttribute class with the name of the icon resource that should represent the workflow element, scoped by the namespace of the specified type.
public WorkflowElementIconAttribute(string typeName, string name)