C# Class Orc.NuGetExplorer.PackageCommandService

Inheritance: IPackageCommandService
Show file Open project: WildGums/Orc.NuGetExplorer

Public Methods

Method Description
CanExecute ( PackageOperationType operationType, IPackageDetails package ) : bool
Execute ( PackageOperationType operationType, IPackageDetails packageDetails, IRepository sourceRepository = null, bool allowedPrerelease = false ) : void
GetActionName ( PackageOperationType operationType ) : string
GetPluralActionName ( PackageOperationType operationType ) : string
IsRefreshRequired ( PackageOperationType operationType ) : bool
PackageCommandService ( IPleaseWaitService pleaseWaitService, IRepositoryService repositoryService, IPackageQueryService packageQueryService, IPackageOperationService packageOperationService, IPackageOperationContextService packageOperationContextService ) : System

Private Methods

Method Description
CanInstall ( IPackageDetails package ) : bool
CanUninstall ( IPackageDetails package ) : bool
CanUpdate ( IPackageDetails package ) : bool

Method Details

CanExecute() public method

public CanExecute ( PackageOperationType operationType, IPackageDetails package ) : bool
operationType PackageOperationType
package IPackageDetails
return bool

Execute() public method

public Execute ( PackageOperationType operationType, IPackageDetails packageDetails, IRepository sourceRepository = null, bool allowedPrerelease = false ) : void
operationType PackageOperationType
packageDetails IPackageDetails
sourceRepository IRepository
allowedPrerelease bool
return void

GetActionName() public method

public GetActionName ( PackageOperationType operationType ) : string
operationType PackageOperationType
return string

GetPluralActionName() public method

public GetPluralActionName ( PackageOperationType operationType ) : string
operationType PackageOperationType
return string

IsRefreshRequired() public method

public IsRefreshRequired ( PackageOperationType operationType ) : bool
operationType PackageOperationType
return bool

PackageCommandService() public method

public PackageCommandService ( IPleaseWaitService pleaseWaitService, IRepositoryService repositoryService, IPackageQueryService packageQueryService, IPackageOperationService packageOperationService, IPackageOperationContextService packageOperationContextService ) : System
pleaseWaitService IPleaseWaitService
repositoryService IRepositoryService
packageQueryService IPackageQueryService
packageOperationService IPackageOperationService
packageOperationContextService IPackageOperationContextService
return System