Class TargetFrameworkExtensions
Helper extensions for the TargetFramework enum.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.MSBuild
Assembly: cs.temp.dll.dll
Syntax
public static class TargetFrameworkExtensions
Methods
AsMSBuildString(TargetFramework)
Converts a TargetFramework into an MSBuild acceptable string.
Declaration
public static string AsMSBuildString(this TargetFramework this)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetFramework | this | The TargetFramework to convert. |
Returns
| Type | Description |
|---|---|
| String | The MSBuild acceptable string representing the TargetFramework. |
AsMSBuildString(TargetFramework)
Converts a TargetFramework into an MSBuild acceptable string.
Declaration
public static string AsMSBuildString(this TargetFramework this)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetFramework | this | The TargetFramework to convert. |
Returns
| Type | Description |
|---|---|
| String | The MSBuild acceptable string representing the TargetFramework. |
GetTargetFramework(BuildTargetGroup)
Returns the configured TargetFramework for the BuildTargetGroup.
Declaration
public static TargetFramework GetTargetFramework(this BuildTargetGroup this)
Parameters
| Type | Name | Description |
|---|---|---|
| BuildTargetGroup | this | The BuildTargetGroup to get TargetFramework for. |
Returns
| Type | Description |
|---|---|
| TargetFramework | The TargetFramework configured for given BuildTargetGroup. |
GetTargetFramework(BuildTargetGroup)
Returns the configured TargetFramework for the BuildTargetGroup.
Declaration
public static TargetFramework GetTargetFramework(this BuildTargetGroup this)
Parameters
| Type | Name | Description |
|---|---|---|
| BuildTargetGroup | this | The BuildTargetGroup to get TargetFramework for. |
Returns
| Type | Description |
|---|---|
| TargetFramework | The TargetFramework configured for given BuildTargetGroup. |