Table of Contents

Class RuntimeDescription

Namespace
NuGet.RuntimeModel
Assembly
Chocolatey.NuGet.Packaging.dll
public class RuntimeDescription : IEquatable<RuntimeDescription>
Inheritance
RuntimeDescription
Implements
Inherited Members

Constructors

RuntimeDescription(string)

public RuntimeDescription(string runtimeIdentifier)

Parameters

runtimeIdentifier string

RuntimeDescription(string, IEnumerable<RuntimeDependencySet>)

public RuntimeDescription(string runtimeIdentifier, IEnumerable<RuntimeDependencySet> runtimeDependencySets)

Parameters

runtimeIdentifier string
runtimeDependencySets IEnumerable<RuntimeDependencySet>

RuntimeDescription(string, IEnumerable<string>)

public RuntimeDescription(string runtimeIdentifier, IEnumerable<string> inheritedRuntimes)

Parameters

runtimeIdentifier string
inheritedRuntimes IEnumerable<string>

RuntimeDescription(string, IEnumerable<string>, IEnumerable<RuntimeDependencySet>)

public RuntimeDescription(string runtimeIdentifier, IEnumerable<string> inheritedRuntimes, IEnumerable<RuntimeDependencySet> runtimeDependencySets)

Parameters

runtimeIdentifier string
inheritedRuntimes IEnumerable<string>
runtimeDependencySets IEnumerable<RuntimeDependencySet>

Properties

InheritedRuntimes

public IReadOnlyList<string> InheritedRuntimes { get; }

Property Value

IReadOnlyList<string>

RuntimeDependencySets

RID specific package dependencies.

public IReadOnlyDictionary<string, RuntimeDependencySet> RuntimeDependencySets { get; }

Property Value

IReadOnlyDictionary<string, RuntimeDependencySet>

RuntimeIdentifier

public string RuntimeIdentifier { get; }

Property Value

string

Methods

Clone()

public RuntimeDescription Clone()

Returns

RuntimeDescription

Equals(RuntimeDescription)

public bool Equals(RuntimeDescription other)

Parameters

other RuntimeDescription

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Merge(RuntimeDescription, RuntimeDescription)

Merges the content of the other runtime description in to this runtime description

public static RuntimeDescription Merge(RuntimeDescription left, RuntimeDescription right)

Parameters

left RuntimeDescription
right RuntimeDescription

Returns

RuntimeDescription

ToString()

public override string ToString()

Returns

string