C# Class NuGet.PackageSorter

Inheritance: PackageWalker
Afficher le fichier Open project: xero-github/Nuget Class Usage Examples

Méthodes publiques

Méthode Description
GetPackagesByDependencyOrder ( IPackageRepository repository ) : IEnumerable

Get all packages from the specified repository in the dependency order, e.g. if A -> B, then B will come before A.

Méthodes protégées

Méthode Description
OnAfterPackageWalk ( IPackage package ) : void
OnDependencyResolveError ( PackageDependency dependency ) : void
ResolveDependency ( PackageDependency dependency ) : IPackage

Method Details

GetPackagesByDependencyOrder() public méthode

Get all packages from the specified repository in the dependency order, e.g. if A -> B, then B will come before A.
public GetPackagesByDependencyOrder ( IPackageRepository repository ) : IEnumerable
repository IPackageRepository
Résultat IEnumerable

OnAfterPackageWalk() protected méthode

protected OnAfterPackageWalk ( IPackage package ) : void
package IPackage
Résultat void

OnDependencyResolveError() protected méthode

protected OnDependencyResolveError ( PackageDependency dependency ) : void
dependency PackageDependency
Résultat void

ResolveDependency() protected méthode

protected ResolveDependency ( PackageDependency dependency ) : IPackage
dependency PackageDependency
Résultat IPackage