C# Class NuGet.PackageMarker

Keeps track of a package's visited state while walking a graph. It also acts as a package repository and a dependents resolver for the live graph.
Inheritance: IPackageRepository, IDependentsResolver
Afficher le fichier Open project: xero-github/Nuget Class Usage Examples

Méthodes publiques

Méthode Description
AddDependent ( IPackage package, IPackage dependency ) : void

While walking the package graph we call this to update dependents.

Clear ( ) : void
Contains ( IPackage package ) : bool
IsCycle ( IPackage package ) : bool
IsVersionCycle ( string packageId ) : bool
IsVisited ( IPackage package ) : bool
MarkProcessing ( IPackage package ) : void
MarkVisited ( IPackage package ) : void

Private Methods

Méthode Description
GetLookup ( string packageId, bool createEntry = false ) : VisitedState>.Dictionary
IDependentsResolver ( IPackage package ) : IEnumerable
IDependentsResolver ( IPackage package, bool skipFailures ) : IEnumerable
IPackageRepository ( ) : IQueryable
IPackageRepository ( IPackage package ) : void

Method Details

AddDependent() public méthode

While walking the package graph we call this to update dependents.
public AddDependent ( IPackage package, IPackage dependency ) : void
package IPackage
dependency IPackage
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Contains() public méthode

public Contains ( IPackage package ) : bool
package IPackage
Résultat bool

IsCycle() public méthode

public IsCycle ( IPackage package ) : bool
package IPackage
Résultat bool

IsVersionCycle() public méthode

public IsVersionCycle ( string packageId ) : bool
packageId string
Résultat bool

IsVisited() public méthode

public IsVisited ( IPackage package ) : bool
package IPackage
Résultat bool

MarkProcessing() public méthode

public MarkProcessing ( IPackage package ) : void
package IPackage
Résultat void

MarkVisited() public méthode

public MarkVisited ( IPackage package ) : void
package IPackage
Résultat void