Skip to main content
Namespace: Phoenix.ComponentPlugInSDK.Models
Assembly: Phoenix.ComponentPlugInSDK.dll

RuntimeVariablesToPHXVariables(IEnumerable<IRuntimeVariable>, IEnumerable<IRuntimeVariable>, VariableValueScope)

Converts a set of input and output variables into an enumerable of PHXVariable.

Parameters

inputs IEnumerable<IRuntimeVariable> The inputs to convert. May be null outputs IEnumerable<IRuntimeVariable> The outputs to convert. May be null scope VariableValueScope As PHXVariables are created, the Phoenix.ModelCenter.Common.PHXVariable.DefaultIVariableValue is filled with clones of the input default variables and the cloned values are given to this scope object for management. Values are stored in this scope using the variable name as the key and with a validity of false.

Returns

IEnumerable<PHXVariable> An enumerable of PHXVariable. Will never be null