Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class SchemeDefinition<T>

Represent a not parsed process scheme

Inheritance

↳ object

    ↳ SchemeDefinition<T>

Inherited Members

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 SchemeDefinition<T> where T : class

Constructors

SchemeDefinition(Guid, Guid?, string, string, T, bool, bool, List<string>, string, string)

Create SchemeDefinition object

Declaration
public SchemeDefinition(Guid id, Guid? rootSchemeId, string schemeCode, string rootSchemeCode, T scheme, bool isObsolete, bool isDeterminingParametersChanged, List<string> allowedActivities, string startingTransition, string definingParameters = null)
Parameters
TypeNameDescription
GuididId of the the scheme
Guid?rootSchemeId
stringschemeCodeName of the the scheme
stringrootSchemeCodeName of the root scheme if subprocess
{T}schemeNot parsed process scheme
boolisObsoleteSign that the scheme is obsolete
boolisDeterminingParametersChangedSign that parameters for creating scheme was changed
List<string>allowedActivities
stringstartingTransition
stringdefiningParametersParameters for creating the scheme of the process

SchemeDefinition(ProcessDefinition, IWorkflowParser<T>)

Create SchemeDefinition object

Declaration
public SchemeDefinition(ProcessDefinition processDefinition, IWorkflowParser<T> parser)
Parameters
TypeNameDescription
ProcessDefinitionprocessDefinitionProcessDefinition object
IWorkflowParser<<T>>parserWorkflowParser to serialize the scheme

Properties

Scheme

Not parsed process scheme

Declaration
public T Scheme { get; }
Property value
TypeDescription
{T}

SchemeCode

Name of the the scheme

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

RootSchemeCode

Name of the root scheme if subprocess

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

Id

Id of the the scheme

Declaration
public Guid Id { get; }
Property value
TypeDescription
Guid

RootSchemeId

Id of the the root scheme if subprocess

Declaration
public Guid? RootSchemeId { get; }
Property value
TypeDescription
Guid?

AllowedActivities

Declaration
public List<string> AllowedActivities { get; set; }
Property value
TypeDescription
List<string>

StartingTransition

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

IsObsolete

Sign that the scheme is obsolete

Declaration
public bool IsObsolete { get; }
Property value
TypeDescription
bool

IsDeterminingParametersChanged

Sign that parameters for creating scheme was changed

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

DefiningParameters

Parameters for creating the scheme of the process

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

Extension Methods