mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class TargetFrameworkExtensions

    Helper extensions for the TargetFramework enum.

    Inheritance
    Object
    TargetFrameworkExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    In This Article
    • Methods
      • AsMSBuildString(TargetFramework)
      • AsMSBuildString(TargetFramework)
      • GetTargetFramework(BuildTargetGroup)
      • GetTargetFramework(BuildTargetGroup)
    Back to top Generated by DocFX