Interface IVariableContainer
Represents a variable container.
Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public interface IVariableContainer
Properties
View Sourcethis[string]
Gets or sets the specified variable.
Declaration
object this[string variableName] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
string | variableName | Name of the variable. |
Property Value
Type | Description |
---|---|
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, bool)
Determines whether this variable has been assigned.
Declaration
bool IsAssigned(string variableName, bool searchContextHierarchy = true)
Parameters
Type | Name | Description |
---|---|---|
string | variableName | Name of the variable. |
bool | searchContextHierarchy | if set to |
Returns
Type | Description |
---|---|
bool |
|