Table of Contents

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

bool

Name

public string Name { get; set; }

Property Value

string

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

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

version NuGetVersion

Version 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.

To top