C# 클래스 NuGet.UninstallWalker

상속: PackageWalker, IPackageOperationResolver
파일 보기 프로젝트 열기: xero-github/Nuget 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetDependents IEnumerable
IsConnected bool

공개 메소드들

메소드 설명
ResolveOperations ( IPackage package ) : IEnumerable
UninstallWalker ( IPackageRepository repository, IDependentsResolver dependentsResolver, ILogger logger, bool removeDependencies, bool forceRemove ) : System

보호된 메소드들

메소드 설명
CreatePackageHasDependentsException ( IPackage package, IEnumerable dependents ) : InvalidOperationException
OnAfterPackageWalk ( IPackage package ) : void
OnAfterResolveDependency ( IPackage package, IPackage dependency ) : bool
OnBeforePackageWalk ( IPackage package ) : void
OnDependencyResolveError ( PackageDependency dependency ) : void
ResolveDependency ( PackageDependency dependency ) : IPackage
WarnRemovingPackageBreaksDependents ( IPackage package, IEnumerable dependents ) : void

비공개 메소드들

메소드 설명
GetDependents ( IPackage package ) : IEnumerable
IsConnected ( IPackage package ) : bool

메소드 상세

CreatePackageHasDependentsException() 보호된 메소드

protected CreatePackageHasDependentsException ( IPackage package, IEnumerable dependents ) : InvalidOperationException
package IPackage
dependents IEnumerable
리턴 System.InvalidOperationException

OnAfterPackageWalk() 보호된 메소드

protected OnAfterPackageWalk ( IPackage package ) : void
package IPackage
리턴 void

OnAfterResolveDependency() 보호된 메소드

protected OnAfterResolveDependency ( IPackage package, IPackage dependency ) : bool
package IPackage
dependency IPackage
리턴 bool

OnBeforePackageWalk() 보호된 메소드

protected OnBeforePackageWalk ( IPackage package ) : void
package IPackage
리턴 void

OnDependencyResolveError() 보호된 메소드

protected OnDependencyResolveError ( PackageDependency dependency ) : void
dependency PackageDependency
리턴 void

ResolveDependency() 보호된 메소드

protected ResolveDependency ( PackageDependency dependency ) : IPackage
dependency PackageDependency
리턴 IPackage

ResolveOperations() 공개 메소드

public ResolveOperations ( IPackage package ) : IEnumerable
package IPackage
리턴 IEnumerable

UninstallWalker() 공개 메소드

public UninstallWalker ( IPackageRepository repository, IDependentsResolver dependentsResolver, ILogger logger, bool removeDependencies, bool forceRemove ) : System
repository IPackageRepository
dependentsResolver IDependentsResolver
logger ILogger
removeDependencies bool
forceRemove bool
리턴 System

WarnRemovingPackageBreaksDependents() 보호된 메소드

protected WarnRemovingPackageBreaksDependents ( IPackage package, IEnumerable dependents ) : void
package IPackage
dependents IEnumerable
리턴 void