Show / Hide Table of Contents

Interface IProcessParameterValueProvider

Represents methods for evaluating and validating process parameter values.

Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public interface IProcessParameterValueProvider

Methods

EvalExpression(String)

Evaluates expression and returns the value with System.Object type.

Declaration
object EvalExpression(string expressionText)
Parameters
Type Name Description
System.String expressionText

Expression text.

Returns
Type Description
System.Object

Evaluation result.

EvalExpression(String, Type)

Evaluates expression and returns the value with System.Object type.

Declaration
object EvalExpression(string expressionText, Type resultType)
Parameters
Type Name Description
System.String expressionText

Expression text.

System.Type resultType

Expected type of the evaluation result.

Returns
Type Description
System.Object

Evaluation result.

EvalExpression<T>(String)

Evaluates expression and returns the value with specified type.

Declaration
T EvalExpression<T>(string expressionText)
Parameters
Type Name Description
System.String expressionText

Expression text.

Returns
Type Description
T

Evaluation result.

Type Parameters
Name Description
T

GetParameterValue(ProcessParameterMapInfo)

Returns value of the process parameter.

Declaration
object GetParameterValue(ProcessParameterMapInfo parameterMapInfo)
Parameters
Type Name Description
ProcessParameterMapInfo parameterMapInfo

Data of the process parameter mapping.

Returns
Type Description
System.Object

Value of the process parameter.

GetParameterValue(ProcessParameterMapInfo, Boolean)

Returns value of the process parameter.

Declaration
object GetParameterValue(ProcessParameterMapInfo parameterMapInfo, bool isReExecution)
Parameters
Type Name Description
ProcessParameterMapInfo parameterMapInfo

Data of the process parameter mapping.

System.Boolean isReExecution

Flag that indicates repeated execution of element.

Returns
Type Description
System.Object

Value of the process parameter.

GetParameterValue(ProcessSchemaParameter, Guid, Object, Boolean)

Returns a parameter value evaluated from an ICompositeObject.

Declaration
object GetParameterValue(ProcessSchemaParameter parameter, Guid schemaElementUId, object compositeObject, bool isReExecution)
Parameters
Type Name Description
ProcessSchemaParameter parameter

Process schema parameter.

System.Guid schemaElementUId

Unique identifier of the process element.

System.Object compositeObject

An instance of the System.Object containing a ICompositeObject-derived type.

System.Boolean isReExecution

Flag that indicates repeated execution of element.

Returns
Type Description
System.Object

Value of the process parameter.

Extension Methods

ReflectionUtilities.GetPropertyValue(Object, String)
ReflectionUtilities.GetPropertyDefValue(Object, String, Object)
ReflectionUtilities.TryGetPropertyValue(Object, String, out Object)
ReflectionUtilities.HasProperty(Object, String)
ReflectionUtilities.GetPropertyValue(Object, String, BindingFlags)
ReflectionUtilities.GetPropertyValueByPath(Object, String)
ReflectionUtilities.SetPropertyValue(Object, String, Object)
ReflectionUtilities.TrySetPropertyValue(Object, String, Object)
ValidateUtilities.CheckArgumentNull(Object, String)
ValidateUtilities.CheckDependencyNull(Object, String)
ValidateUtilities.EnsureDependencyNotNull<T>(T, String)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance, Boolean)
NSubstituteExtension.Protected(Object, String, Object[])
NSubstituteExtension.Protected(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedProperty(Object, String)
NSubstituteExtension.MatchInstance<T>(T)
SubstituteUtilities.GetIsSubstituteObject(Object)
SubstituteUtilities.Instead<TInstance, TValue>(TInstance, Func<TInstance, TValue>)
Back to top Generated by DocFX