Workflow Engine .NET  2
Public Member Functions | Static Public Member Functions | Properties | List of all members
OptimaJet.Workflow.Core.Model.CodeActionDefinition Class Reference

Represent a code action in a process scheme More...

Inheritance diagram for OptimaJet.Workflow.Core.Model.CodeActionDefinition:
OptimaJet.Workflow.Core.Model.BaseDefinition

Public Member Functions

new CodeActionDefinition Clone ()
 
- Public Member Functions inherited from OptimaJet.Workflow.Core.Model.BaseDefinition
BaseDefinition Clone ()
 

Static Public Member Functions

static CodeActionDefinition Create (string name, string usings, string actionCode, string isglobal, string type, string isAsync)
 Create CodeActionDefinition object More...
 

Properties

string ActionCode [get, set]
 Source code of the code action More...
 
CodeActionType Type [get, set]
 Type of the code action CodeActionType More...
 
bool IsGlobal [get, set]
 If true specifies that the code action stored in global parameters but not in scheme. In this case code action is shared between schemes More...
 
bool IsAsync [get, set]
 If true the code action should be called asynchronously More...
 
string Usings [get, set]
 List of usings separated by ; More...
 
- Properties inherited from OptimaJet.Workflow.Core.Model.BaseDefinition
virtual string Name [get, set]
 Name of the object in scheme More...
 
DesignerSettings DesignerSettings [get, set]
 Designer settings which used by Workflow Designer More...
 

Detailed Description

Represent a code action in a process scheme

Member Function Documentation

◆ Create()

static CodeActionDefinition OptimaJet.Workflow.Core.Model.CodeActionDefinition.Create ( string  name,
string  usings,
string  actionCode,
string  isglobal,
string  type,
string  isAsync 
)
static

Create CodeActionDefinition object

Parameters
nameName of the code action
usingsList of usings separated by ;
actionCodeSource code of the code action
isglobalIf true specifies that the code action stored in global parameters but not in scheme. In this case code action is shared between schemes
typeype of the code action CodeActionType
isAsyncif true the code action should be called asynchronously
Returns
CodeActionDefinition object

Property Documentation

◆ ActionCode

string OptimaJet.Workflow.Core.Model.CodeActionDefinition.ActionCode
getset

Source code of the code action

◆ IsAsync

bool OptimaJet.Workflow.Core.Model.CodeActionDefinition.IsAsync
getset

If true the code action should be called asynchronously

◆ IsGlobal

bool OptimaJet.Workflow.Core.Model.CodeActionDefinition.IsGlobal
getset

If true specifies that the code action stored in global parameters but not in scheme. In this case code action is shared between schemes

◆ Type

CodeActionType OptimaJet.Workflow.Core.Model.CodeActionDefinition.Type
getset

Type of the code action CodeActionType

◆ Usings

string OptimaJet.Workflow.Core.Model.CodeActionDefinition.Usings
getset

List of usings separated by ;