Method MoveInputVariablesFrom
Last update: 19.06.2026Namespace: Phoenix.ComponentPlugInSDK.ViewModels
Assembly: Phoenix.ComponentPlugInSDK.dll
MoveInputVariablesFrom(IEnumerable<IRuntimeVariable>)
Sets Phoenix.ComponentPlugInSDK.ViewModels.IPlugInViewModel.InputVariables based on the passed in values
void MoveInputVariablesFrom(IEnumerable<IRuntimeVariable> inputs)
Parameters
inputs IEnumerable<IRuntimeVariable>
The input variables to take ownership of
Remarks
This class takes responsibility for Disposing the passed in values. The caller should not use the passed in values after calling this function.
This function does not handle passing IRuntimeVariables that originated from
<xref href="Phoenix.ComponentPlugInSDK.ViewModels.IPlugInViewModel.InputVariables" data-throw-if-not-resolved="false"></xref>. If you want to receive the InputVariables, modify
them and pass them back, use <xref href="Phoenix.ComponentPlugInSDK.ViewModels.IPlugInViewModel.CloneInputVariablesFrom(System.Collections.Generic.IEnumerable%7bPhoenix.PaczAPI.IRuntimeVariable%7d)" data-throw-if-not-resolved="false"></xref>