Class ProcessSchemaEvent
Inheritance
Implements
Inherited Members
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public class ProcessSchemaEvent : ProcessSchemaParametrizedFlowNode, IMetaDataSerializable, ICloneable, IFlowElementFactory, IFlowElement, IManagerItemInstance, IUIDataSerializable, IDesignItem, IParametrizedProcessSchemaElement, IProcessElementMetaInfo, IProcessParametersMetaInfo, IMetaItem
Constructors
ProcessSchemaEvent()
Declaration
public ProcessSchemaEvent()
ProcessSchemaEvent(ProcessSchema)
Declaration
public ProcessSchemaEvent(ProcessSchema processSchema)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchema | processSchema |
ProcessSchemaEvent(ProcessSchemaEvent)
Declaration
public ProcessSchemaEvent(ProcessSchemaEvent source)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaEvent | source |
Fields
EntitySchemaUIdParameterName
Declaration
public const string EntitySchemaUIdParameterName = "EntitySchemaUId"
Field Value
Type | Description |
---|---|
System.String |
RecordIdParameterName
Declaration
public const string RecordIdParameterName = "RecordId"
Field Value
Type | Description |
---|---|
System.String |
Properties
EntitySchemaUId
Declaration
[MetaTypeProperty("{FB2F1056-8439-4CFC-983A-B6EDD105EF15}")]
public virtual Guid EntitySchemaUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Parameters
Declaration
[MetaTypeProperty("{6175B47D-3E11-4DBA-8C16-D4461658B0AC}")]
public override ProcessSchemaParameterCollection Parameters { get; }
Property Value
Type | Description |
---|---|
ProcessSchemaParameterCollection |
Overrides
Methods
AddParameterIfNotExists(ProcessSchemaParameterCollection, Guid, String, Guid)
Adds process parameter if it does not exist in the list.
Declaration
protected ProcessSchemaParameter AddParameterIfNotExists(ProcessSchemaParameterCollection parameters, Guid uId, string name, Guid dataValueTypeUId)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaParameterCollection | parameters | The list of the process parameters. |
System.Guid | uId | Parameter Id. |
System.String | name | Parameter name. |
System.Guid | dataValueTypeUId | Data value type Id. |
Returns
Type | Description |
---|---|
ProcessSchemaParameter | Returns instance of the ProcessSchemaParameter type. |
ApplyMetaDataValue(DataReader)
Declaration
protected override void ApplyMetaDataValue(DataReader reader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | reader |
Overrides
AssignParameterValue(String, String)
Assigns the value of the process parameter.
Declaration
protected void AssignParameterValue(string parameterName, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterName | Parameter name. |
System.String | value | Parameter value. |
AssignParameterValue(ProcessSchemaParameter, String)
Assigns the value of the process parameter.
Declaration
protected void AssignParameterValue(ProcessSchemaParameter parameter, string value)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaParameter | parameter | Process parameter. |
System.String | value | Parameter value. |
Clone()
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object |
Overrides
CreateParameter(Guid, String, Guid)
Creates an instance of the process parameter.
Declaration
protected ProcessSchemaParameter CreateParameter(Guid uId, string name, Guid dataValueTypeUId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uId | Parameter Id. |
System.String | name | Parameter name. |
System.Guid | dataValueTypeUId | Data value type Id. |
Returns
Type | Description |
---|---|
ProcessSchemaParameter | Returns instance of the ProcessSchemaParameter type. |
FillParameters(ProcessSchemaParameterCollection)
Fills out the list of the process element parameters.
Declaration
protected virtual void FillParameters(ProcessSchemaParameterCollection parameters)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaParameterCollection | parameters | List of forcibly generated parameters. |
ForceGetParameters()
Forcibly obtains process parameters.
Declaration
public ProcessSchemaParameterCollection ForceGetParameters()
Returns
Type | Description |
---|---|
ProcessSchemaParameterCollection | Collection of process parameters. |
GetCaptionRecordIdParameter()
Returns caption of the RecordId process parameter.
Declaration
protected LocalizableString GetCaptionRecordIdParameter()
Returns
Type | Description |
---|---|
LocalizableString | Returns instance of the |
InitializeSchemaParameters(ProcessSchemaParameterCollection)
Initializes process parameters of the schema element.
Declaration
protected virtual void InitializeSchemaParameters(ProcessSchemaParameterCollection parameters)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaParameterCollection | parameters | The list of the process element parameters. |
SynchronizeParameters()
Declaration
public virtual void SynchronizeParameters()
WriteMetaData(DataWriter)
Declaration
public override void WriteMetaData(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer |
Overrides
WriteUIData(DataWriter)
Declaration
public override void WriteUIData(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer |
Overrides
WriteUIPropertyData(DataWriter, String)
Declaration
public override void WriteUIPropertyData(DataWriter writer, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer | |
System.String | propertyName |