    

 ## On this page

  

 

 # Method PHXVariablesToRuntimeVariables

 Last update: 19.06.2026 

Namespace: [Phoenix.ComponentPlugInSDK.Models](Phoenix.ComponentPlugInSDK.Models.md)  
Assembly: Phoenix.ComponentPlugInSDK.dll

## PHXVariablesToRuntimeVariables(IEnumerable&lt;PHXVariable&gt;)

Converts all passed in PHXVariables into IRuntimeVariables.

```csharp
public static Tuple<IEnumerable<IRuntimeVariable>, IEnumerable<IRuntimeVariable>> PHXVariablesToRuntimeVariables(IEnumerable<PHXVariable> variables)


```

### Parameters

`variables` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;PHXVariable&gt;

The variables to convert. May be null

### Returns

[Tuple](https://learn.microsoft.com/dotnet/api/system.tuple-2)&lt;[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;IRuntimeVariable&gt;, [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;IRuntimeVariable&gt;&gt;

A Tuple which consists of the converted inputs as the first item and the converted outputs as the second item. Neither the tuple itself nor the enumerables will ever be null