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
stringruntimeDependencySets
IEnumerable<RuntimeDependencySet>
RuntimeDescription(string, IEnumerable<string>)
public RuntimeDescription(string runtimeIdentifier, IEnumerable<string> inheritedRuntimes)
Parameters
runtimeIdentifier
stringinheritedRuntimes
IEnumerable<string>
RuntimeDescription(string, IEnumerable<string>, IEnumerable<RuntimeDependencySet>)
public RuntimeDescription(string runtimeIdentifier, IEnumerable<string> inheritedRuntimes, IEnumerable<RuntimeDependencySet> runtimeDependencySets)
Parameters
runtimeIdentifier
stringinheritedRuntimes
IEnumerable<string>runtimeDependencySets
IEnumerable<RuntimeDependencySet>
Properties
InheritedRuntimes
public IReadOnlyList<string> InheritedRuntimes { get; }
Property Value
RuntimeDependencySets
RID specific package dependencies.
public IReadOnlyDictionary<string, RuntimeDependencySet> RuntimeDependencySets { get; }
Property Value
RuntimeIdentifier
public string RuntimeIdentifier { get; }
Property Value
Methods
Clone()
public RuntimeDescription Clone()
Returns
Equals(RuntimeDescription)
public bool Equals(RuntimeDescription other)
Parameters
other
RuntimeDescription
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
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
RuntimeDescriptionright
RuntimeDescription
Returns
ToString()
public override string ToString()