PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Framework­Variants Class
FrameworkVariants Class

Note: This API is now obsolete.

Defines constants identifying the different variants of the .NET Framework (Full, Compact, Silverlight).
Inheritance Hierarchy
System.Object
  PostSharp.Extensibility.FrameworkVariants

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
[ObsoleteAttribute("Use ITargetDevice")]
public static class FrameworkVariants

The FrameworkVariants type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFromBytes
Convert a byte array (typically containing the public key token of mscorlib) into a string that can be compared to one of the constants defined in this class.
Fields
  NameDescription
Public fieldStatic memberCompact
.NET Compact Framework.
Public fieldStatic memberFull
Normal, full .NET Framework.
Public fieldStatic memberMicro
Micro Framework.
Public fieldStatic memberSilverlight
Silverlight.
See Also