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
Syntaxpublic class SchemeDefinition<T> where T : class
Constructors
SchemeDefinition(Guid, Guid?, string, string, T, bool, bool, List<string>, string, string)
Create SchemeDefinition object
Declarationpublic SchemeDefinition(Guid id, Guid? rootSchemeId, string schemeCode, string rootSchemeCode, T scheme, bool isObsolete, bool isDeterminingParametersChanged, List<string> allowedActivities, string startingTransition, string definingParameters = null)
Type | Name | Description |
---|---|---|
Guid | id | Id of the the scheme |
Guid? | rootSchemeId | |
string | schemeCode | Name of the the scheme |
string | rootSchemeCode | Name of the root scheme if subprocess |
{T} | scheme | Not parsed process scheme |
bool | isObsolete | Sign that the scheme is obsolete |
bool | isDeterminingParametersChanged | Sign that parameters for creating scheme was changed |
List<string> | allowedActivities | |
string | startingTransition | |
string | definingParameters | Parameters for creating the scheme of the process |
SchemeDefinition(ProcessDefinition, IWorkflowParser<T>)
Create SchemeDefinition object
Declarationpublic SchemeDefinition(ProcessDefinition processDefinition, IWorkflowParser<T> parser)
Type | Name | Description |
---|---|---|
ProcessDefinition | processDefinition | ProcessDefinition object |
IWorkflowParser<<T>> | parser | WorkflowParser to serialize the scheme |
Properties
Scheme
Not parsed process scheme
Declarationpublic T Scheme { get; }
Type | Description |
---|---|
{T} |
SchemeCode
Name of the the scheme
Declarationpublic string SchemeCode { get; set; }
Type | Description |
---|---|
string |
RootSchemeCode
Name of the root scheme if subprocess
Declarationpublic string RootSchemeCode { get; set; }
Type | Description |
---|---|
string |
Id
Id of the the scheme
Declarationpublic Guid Id { get; }
Type | Description |
---|---|
Guid |
RootSchemeId
Id of the the root scheme if subprocess
Declarationpublic Guid? RootSchemeId { get; }
Type | Description |
---|---|
Guid? |
AllowedActivities
Declarationpublic List<string> AllowedActivities { get; set; }
Type | Description |
---|---|
List<string> |
StartingTransition
Declarationpublic string StartingTransition { get; set; }
Type | Description |
---|---|
string |
IsObsolete
Sign that the scheme is obsolete
Declarationpublic bool IsObsolete { get; }
Type | Description |
---|---|
bool |
IsDeterminingParametersChanged
Sign that parameters for creating scheme was changed
Declarationpublic bool IsDeterminingParametersChanged { get; set; }
Type | Description |
---|---|
bool |
DefiningParameters
Parameters for creating the scheme of the process
Declarationpublic string DefiningParameters { get; set; }
Type | Description |
---|---|
string |