Show / Hide Table of Contents

Interface IVariableContainer

Represents a variable container.

Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public interface IVariableContainer

Properties

View Source

this[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.

View Source

Variables

Gets the variables.

Declaration
IEnumerable<Variable> Variables { get; }
Property Value
Type Description
IEnumerable<Variable>

The variables.

Methods

View Source

IsAssigned(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 true the context hierarchy will be searched in addition to this context.

Returns
Type Description
bool

true if the variable is assigned; otherwise, false.

  • View Source
In this article
Back to top Copyright © DNV AS. All rights reserved.