PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / ITarget­Framework Interface

ITargetFramework Interface

Represents a version and variant of the .NET framework (running on a device) on which the project being built is design to run.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public interface ITargetFramework

The ITargetFramework type exposes the following members.

Properties
  NameDescription
Public propertyFrameworkMoniker
Unique string identifier of the target device.
Public propertyFrameworkProfile
Gets the target profile of the framework (e.g. WindowsPhone).
Public propertyTargetFrameworkFamily
Identifier of the framework family (e.g. NetFramework, NetCore, Silverlight, NetPortable).
Public propertyVersion
Gets the version of the target profile.
See Also