Class CompatibilityProfile
- Namespace
- NuGet.RuntimeModel
- Assembly
- Chocolatey.NuGet.Packaging.dll
public class CompatibilityProfile : IEquatable<CompatibilityProfile>
- Inheritance
-
CompatibilityProfile
- Implements
-
- Inherited Members
-
Constructors
CompatibilityProfile(string)
public CompatibilityProfile(string name)
Parameters
name
string
CompatibilityProfile(string, IEnumerable<FrameworkRuntimePair>)
public CompatibilityProfile(string name, IEnumerable<FrameworkRuntimePair> restoreContexts)
Parameters
name
string
restoreContexts
IEnumerable<FrameworkRuntimePair>
Properties
Name
public string Name { get; }
Property Value
- string
RestoreContexts
public IList<FrameworkRuntimePair> RestoreContexts { get; }
Property Value
- IList<FrameworkRuntimePair>
Methods
Clone()
public CompatibilityProfile Clone()
Returns
- CompatibilityProfile
Equals(CompatibilityProfile)
public bool Equals(CompatibilityProfile other)
Parameters
other
CompatibilityProfile
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string