Class PackageDependency
- Namespace
- Dynamicweb.Marketplace
- Assembly
- Dynamicweb.Marketplace.dll
public class PackageDependency
- Inheritance
-
PackageDependency
- Inherited Members
Properties
IsUpgradeable
public bool IsUpgradeable { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
VersionRange
public VersionRange? VersionRange { get; set; }
Property Value
- VersionRange
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Satisfies(NuGetVersion)
Test if the specified version if inside this depednencies versionrange
public bool Satisfies(NuGetVersion version)
Parameters
versionNuGetVersionVersion to test
Returns
- bool
true if version is inside the versionrange; else false
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.