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

CreateCloneFrom(IEnumerable<KeyValuePair<string, VariableState>>)

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

Parameters

source IEnumerable<KeyValuePair<string, VariableState>> The input values to use for the run request.

Returns

ComponentRunRequest A newly created ComponentRunRequest

Remarks

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

CreateCloneFrom(IEnumerable<IRuntimeVariable>, IEnumerable<KeyValuePair<string, VariableState>>)

Creates a new ComponentRunRequest by making a clone of the given data, filtered by a set of inputs.

Parameters

inputList IEnumerable<IRuntimeVariable> Which variables to include from source source IEnumerable<KeyValuePair<string, VariableState>> The input values to use for the run request.

Returns

ComponentRunRequest A newly created ComponentRunRequest

Remarks

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

CreateCloneFrom(IEnumerable<string>, IEnumerable<KeyValuePair<string, VariableState>>)

Creates a new ComponentRunRequest by making a clone of the given data, filtered by a set of inputs.

Parameters

inputList IEnumerable<string> Which variables to include from source source IEnumerable<KeyValuePair<string, VariableState>> The input values to use for the run request.

Returns

ComponentRunRequest A newly created ComponentRunRequest

Remarks

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