Skip to main content

Class ActorDefinition

Represent an actor in a process scheme

Inheritance

↳ object

    ↳ BaseDefinition

        ActorDefinition

Inherited Members

BaseDefinition.Name

BaseDefinition.DesignerSettings

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Model

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class ActorDefinition : BaseDefinition

Properties

OriginalName

If object was inlined, you can get its original name from this property

Declaration
public string OriginalName { get; set; }
Property value
TypeDescription
string

OriginalSchemeCode

The code of the scheme to which the inlined object originally belonged.

Declaration
public string OriginalSchemeCode { get; set; }
Property value
TypeDescription
string

WasInlined

Return true if the object was inlined.

Declaration
public bool WasInlined { get; set; }
Property value
TypeDescription
bool

Rule

Rule name which is associated with the actor

Declaration
public string Rule { get; set; }
Property value
TypeDescription
string

Value

Additional parameter which is passed to the appropriate methods IWorkflowRuleProvider

Declaration
public string Value { get; set; }
Property value
TypeDescription
string

IsPredefined

Declaration
public bool IsPredefined { get; set; }
Property value
TypeDescription
bool

Methods

Create(string, string, string)

Create ActorDefinition object

Declaration
public static ActorDefinition Create(string name, string rule, string value)
Parameters
TypeNameDescription
stringnameName of the actor
stringruleRule name which is associated with the actor
stringvalueAdditional parameter which is passed to the appropriate methods <xref href="OptimaJet.Workflow.Core.Runtime.IWorkflowRuleProvider" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
ActorDefinitionActorDefinition object

Clone()

Declaration
public ActorDefinition Clone()
Returns
TypeDescription
ActorDefinition

Extension Methods