Skip to main content

Component Plug-In SDK 2026 R1

Class RuntimeVariable

Last update: 19.06.2026

Namespace: Phoenix.Pacz
Assembly: Phoenix.Pacz.dll

A concrete implementation of IRuntimeVariable.

This class implements IRuntimeVariable and adds the ability to change it after it has been created.

This class is not thread safe.

public class RuntimeVariable : AbstractDisposable, IRuntimeVariable, IDisposable

Inheritance

object ← AbstractDisposable ← RuntimeVariable

Implements

IRuntimeVariable, IDisposable

Inherited Members

AbstractDisposable.disposed, AbstractDisposable.Dispose(), AbstractDisposable.IsDisposed, AbstractDisposable.Dispose(bool), object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()

Constructors

RuntimeVariable()

Constructor which generates an unusable empty RuntimeVariable.

RuntimeVariable(string, VariableType, IVariableValue, string, string, string, object, object, object[], string[], IReadOnlyDictionary<string, string>)

Constructor

RuntimeVariable(string, VariableMetadata, IVariableValue, IReadOnlyDictionary<string, string>)

Constructor

RuntimeVariable(IRuntimeVariable)

Copy constructor. Makes a copy of the source such that dispose independently cleans up the source and the new RuntimeVariable.

Properties

CustomMetadata

Get the variable custom metadata which allows for arbitrary storage of name/value pairs with the variable.

DefaultValue

The default value for this variable.

Metadata

The metadata about the variable

Name

The name of the variable. Must be non-empty and may use dotted notation.

Methods

CloneDefaultValueFrom(IVariableValue)

Sets Phoenix.Pacz.RuntimeVariable.DefaultValue by making a clone of value.

Dispose(bool)

Standard disposal.

MoveDefaultValueFrom(IVariableValue)

Sets Phoenix.Pacz.RuntimeVariable.DefaultValue by taking ownership of value

Connect with Ansys