November Happy Hour will be moved to Thursday December 5th.

Class VersionUtility

Inheritance
System.Object
VersionUtility
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Modules
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public static class VersionUtility

Fields

NetFrameworkIdentifier

Declaration
public const string NetFrameworkIdentifier = ".NETFramework"
Field Value
Type Description
System.String

SilverlightIdentifier

Declaration
public const string SilverlightIdentifier = "Silverlight"
Field Value
Type Description
System.String

UnsupportedFrameworkIdentifier

Declaration
public const string UnsupportedFrameworkIdentifier = "Unsupported"
Field Value
Type Description
System.String

UnsupportedFrameworkName

Declaration
public static readonly FrameworkName UnsupportedFrameworkName
Field Value
Type Description
System.Runtime.Versioning.FrameworkName

Properties

DefaultTargetFramework

Declaration
public static FrameworkName DefaultTargetFramework { get; }
Property Value
Type Description
System.Runtime.Versioning.FrameworkName

DefaultTargetFrameworkVersion

Declaration
public static Version DefaultTargetFrameworkVersion { get; }
Property Value
Type Description
System.Version

Methods

IsCompatible(FrameworkName, FrameworkName)

Declaration
public static bool IsCompatible(FrameworkName frameworkName, FrameworkName targetFrameworkName)
Parameters
Type Name Description
System.Runtime.Versioning.FrameworkName frameworkName
System.Runtime.Versioning.FrameworkName targetFrameworkName
Returns
Type Description
System.Boolean

NormalizeVersion(Version)

Declaration
public static Version NormalizeVersion(Version version)
Parameters
Type Name Description
System.Version version
Returns
Type Description
System.Version

ParseFrameworkName(String)

Declaration
public static FrameworkName ParseFrameworkName(string frameworkName)
Parameters
Type Name Description
System.String frameworkName
Returns
Type Description
System.Runtime.Versioning.FrameworkName

TryGetCompatibleItems<T>(FrameworkName, IEnumerable<T>, out IEnumerable<T>)

Declaration
public static bool TryGetCompatibleItems<T>(FrameworkName projectFramework, IEnumerable<T> items, out IEnumerable<T> compatibleItems)
    where T : ModuleAssembly
Parameters
Type Name Description
System.Runtime.Versioning.FrameworkName projectFramework
System.Collections.Generic.IEnumerable<T> items
System.Collections.Generic.IEnumerable<T> compatibleItems
Returns
Type Description
System.Boolean
Type Parameters
Name Description
T