Skip to main content
Namespace: Phoenix.ComponentAPI
Assembly: Phoenix.ComponentAPI.dll

CreateCloneFrom(IReadOnlyDictionary<string, VariableState>, ComponentRunResultsMetadata)

Creates a new ComponentRunResults by making a clone of the given data.

Parameters

resultValues IReadOnlyDictionary<string, VariableState> The output variable values to clone. resultMetadata ComponentRunResultsMetadata Metadata about each run

Returns

ComponentRunResults A new ComponentRunResults

Remarks

You should always use the returned value in a using block, or otherwise ensure it will be disposed.