Class ProcessParameterMemoryStore
In memory store for process parameter values.
Inheritance
System.Object
ProcessParameterMemoryStore
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Terrasoft.Core.dll
Syntax
public class ProcessParameterMemoryStore : IInternalProcessParameterStore, IProcessParameterStore
Properties
ParameterInfoLocalStore
Gets the repository of the process parameter data.
Declaration
public Dictionary<string, ProcessParameterInfo> ParameterInfoLocalStore { get; }
Property Value
ParameterInfoPathes
Gets the set of paths by which you can retrieve process parameter data.
Declaration
public HashSet<string> ParameterInfoPathes { get; }
Property Value
Type |
Description |
System.Collections.Generic.HashSet<System.String> |
|
ParameterStores
Gets the set of the repositories where stores the process parameter values.
Declaration
public Dictionary<Type, object> ParameterStores { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Type, System.Object> |
|
Methods
ContainsParameterPath(Guid, String)
Declaration
public bool ContainsParameterPath(Guid processUId, string parameterPath)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
Returns
Type |
Description |
System.Boolean |
|
FindParameterInfo(Guid, String)
Declaration
public ProcessParameterInfo FindParameterInfo(Guid processUId, string parameterPath)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
Returns
FindParameterValue(Guid, String)
Declaration
public object FindParameterValue(Guid processUId, string parameterPath)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
Returns
Type |
Description |
System.Object |
|
GetParameterInfo(Guid, String)
Declaration
public ProcessParameterInfo GetParameterInfo(Guid processUId, string parameterPath)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
Returns
GetParameterInfoPathes(Guid)
Declaration
public HashSet<string> GetParameterInfoPathes(Guid processUId)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
Returns
Type |
Description |
System.Collections.Generic.HashSet<System.String> |
|
GetParametersMapInfo(Guid)
Declaration
public Dictionary<string, ProcessParameterInfo> GetParametersMapInfo(Guid processUId)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
Returns
GetParameterValue(Guid, String)
Declaration
public object GetParameterValue(Guid processUId, string parameterPath)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
Returns
Type |
Description |
System.Object |
|
GetProcessParameterPathes(Guid)
Declaration
public HashSet<string> GetProcessParameterPathes(Guid processUId)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
Returns
Type |
Description |
System.Collections.Generic.HashSet<System.String> |
|
RemoveParametersInfo(Guid)
The method is not implemented.
Declaration
public void RemoveParametersInfo(Guid processUId)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
RemoveParameterValues(Guid)
The method is not implemented.
Declaration
public void RemoveParameterValues(Guid processUId)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
SaveParameterInfo(Guid, String, ProcessParameterInfo)
Declaration
public void SaveParameterInfo(Guid processUId, string parameterPath, ProcessParameterInfo parameterInfo)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
ProcessParameterInfo |
parameterInfo |
|
SaveParametersInfo(Guid, IDictionary<String, ProcessParameterInfo>)
Declaration
public void SaveParametersInfo(Guid processUId, IDictionary<string, ProcessParameterInfo> pathParametersInfo)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.Collections.Generic.IDictionary<System.String, ProcessParameterInfo> |
pathParametersInfo |
|
SetParameterValue(Guid, String, ISerializableObject)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, ISerializableObject value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
ISerializableObject |
value |
|
SetParameterValue(Guid, String, LocalizableString)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, LocalizableString value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
LocalizableString |
value |
|
SetParameterValue(Guid, String, Boolean)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, bool value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Boolean |
value |
|
SetParameterValue(Guid, String, DateTime)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, DateTime value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.DateTime |
value |
|
SetParameterValue(Guid, String, Decimal)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, decimal value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Decimal |
value |
|
SetParameterValue(Guid, String, Double)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, double value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Double |
value |
|
SetParameterValue(Guid, String, Enum)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, Enum value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Enum |
value |
|
SetParameterValue(Guid, String, Guid)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, Guid value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Guid |
value |
|
SetParameterValue(Guid, String, Int32)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, int value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Int32 |
value |
|
SetParameterValue(Guid, String, String)
Declaration
public void SetParameterValue(Guid processUId, string parameterPath, string value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.String |
value |
|
SetParameterValue<T>(Guid, String, T)
Declaration
public void SetParameterValue<T>(Guid processUId, string parameterPath, T value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
T |
value |
|
Type Parameters
TryGetParameterValue(Guid, String, out ISerializableObject)
Attempts to retrieve the value of a parameter of the
type on the generated key. The key is formed by the value of the identifier processUId
and the value of the parameter parameterPath
.
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out ISerializableObject value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
The process unique identifier.
|
System.String |
parameterPath |
The path to the value of the parameter to be retrieved.
|
ISerializableObject |
value |
The value of the parameter of the type.
|
Returns
Type |
Description |
System.Boolean |
true , if the store contains the value of the parameter on the generated key;
otherwise - false .
|
TryGetParameterValue(Guid, String, out LocalizableString)
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out LocalizableString value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
LocalizableString |
value |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetParameterValue(Guid, String, out Boolean)
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out bool value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Boolean |
value |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetParameterValue(Guid, String, out DateTime)
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out DateTime value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.DateTime |
value |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetParameterValue(Guid, String, out Decimal)
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out decimal value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Decimal |
value |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetParameterValue(Guid, String, out Double)
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out double value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Double |
value |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetParameterValue(Guid, String, out Enum)
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out Enum value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Enum |
value |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetParameterValue(Guid, String, out Guid)
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out Guid value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Guid |
value |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetParameterValue(Guid, String, out Int32)
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out int value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.Int32 |
value |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetParameterValue(Guid, String, out String)
Declaration
public bool TryGetParameterValue(Guid processUId, string parameterPath, out string value)
Parameters
Type |
Name |
Description |
System.Guid |
processUId |
|
System.String |
parameterPath |
|
System.String |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
Extension Methods