Table of Contents

Class TargetFramework

Namespace
Alternet.Common.Projects.DotNet
Assembly
Alternet.Common.v10.dll

Represents properties and methods that describe the particular version of the SDK-style project.

public class TargetFramework : ValueObject<TargetFramework>
Inheritance
TargetFramework

Constructors

TargetFramework(string)

Initializes a new instance of the TargetFramework class with specified moniker.

TargetFramework(Version, bool, string?)

Initializes a new instance of the TargetFramework class with specified parameters.

Properties

CurrentRuntimeFramework

Gets the currently running target framework.

DisplayName

Gets a display representation of the framework Moniker.

IsDotNetCore

Gets the boolean value indication whether this is .NET Core framework.

Moniker

Gets a string in the standardized token format for specifying the target framework of a .NET project.

OS

Gets the Ooperating system to which this framework belongs.

Version

Gets a Version representation of the framework Moniker.

Methods

EqualsCore(TargetFramework)
GetHashCodeCore()