Interface IVariableContainer
Represents a variable container.
Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public interface IVariableContainer
Properties
View SourceItem[String]
Gets or sets the specified variable.
Declaration
object this[string variableName] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.String | variableName | Name of the variable. |
Property Value
Type | Description |
---|---|
System.Object | The variable value. |
Variables
Gets the variables.
Declaration
IEnumerable<Variable> Variables { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Variable> | The variables. |
Methods
View SourceIsAssigned(String, Boolean)
Determines whether this variable has been assigned.
Declaration
bool IsAssigned(string variableName, bool searchContextHierarchy = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | variableName | Name of the variable. |
System.Boolean | searchContextHierarchy | if set to |
Returns
Type | Description |
---|---|
System.Boolean |
|