Class BaseProcessSchemaManagerItem<TBaseProcessSchema>
The base class for the process schema manager item.
Inheritance
Implements
Inherited Members
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public class BaseProcessSchemaManagerItem<TBaseProcessSchema> : SchemaManagerItem<TBaseProcessSchema>, ISchemaManagerItem<TBaseProcessSchema>, IManagerItem<TBaseProcessSchema>, ICloneable, IBaseProcessSchemaManagerItem, ISchemaManagerItem, IManagerItem where TBaseProcessSchema : BaseProcessSchema, ISchemaManagerSchema<TBaseProcessSchema>, IManagerItemInstance, ICloneable
Type Parameters
Name | Description |
---|---|
TBaseProcessSchema | The type of the process schema. |
Constructors
BaseProcessSchemaManagerItem(ISchemaManagerItem<TBaseProcessSchema>, Boolean)
Initializes a new instance of the SchemaManagerItem<TSchemaManagerSchema> class.
Declaration
public BaseProcessSchemaManagerItem(ISchemaManagerItem<TBaseProcessSchema> source, bool isShallowClone = false)
Parameters
Type | Name | Description |
---|---|---|
ISchemaManagerItem<TBaseProcessSchema> | source | Manager item to initialize current item from. |
System.Boolean | isShallowClone | Flag that indicates whether the item's instance will not be cloned too. |
BaseProcessSchemaManagerItem(SchemaManager<TBaseProcessSchema>)
Initializes a new instance of the SchemaManagerItem<TSchemaManagerSchema> class.
Declaration
public BaseProcessSchemaManagerItem(SchemaManager<TBaseProcessSchema> manager)
Parameters
Type | Name | Description |
---|---|---|
SchemaManager<TBaseProcessSchema> | manager | Schema manager in which this instance is created SchemaManagerItem<TSchemaManagerSchema>. |
Properties
UseInstanceFromMetaData
Returns a value indicating whether the instance should be initialized from meta data.
Declaration
public virtual bool UseInstanceFromMetaData { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
Clone()
Clones this instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | Cloned instance. |
Overrides
CloneShallow()
Performs the shallow clone of this instance.
Declaration
public override object CloneShallow()
Returns
Type | Description |
---|---|
System.Object | Shallow clone of this instance. |
Overrides
GetIsEnabled()
Returns true
if current instance is enabled, otherwise false
.
Declaration
public virtual bool GetIsEnabled()
Returns
Type | Description |
---|---|
System.Boolean |
Verify()
Declaration
public virtual void Verify()
Verify(ProcessStartType)
Declaration
public virtual void Verify(ProcessStartType startType)
Parameters
Type | Name | Description |
---|---|---|
ProcessStartType | startType |
Explicit Interface Implementations
IBaseProcessSchemaManagerItem.Instance
Returns initialized schema instance.
Declaration
BaseProcessSchema IBaseProcessSchemaManagerItem.Instance { get; }
Returns
Type | Description |
---|---|
BaseProcessSchema |