C# Class Orc.NuGetExplorer.NuGetConfigurationService

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

Public Methods

Method Description
DisablePackageSource ( string name, string source ) : void
GetDestinationFolder ( ) : string
GetIsPrereleaseAllowed ( IRepository repository ) : bool
LoadPackageSources ( bool onlyEnabled = false ) : IEnumerable
NuGetConfigurationService ( IConfigurationService configurationService, IPackageSourceProvider packageSourceProvider, INuGetFeedVerificationService feedVerificationService ) : System
SetDestinationFolder ( string value ) : void
SetIsPrereleaseAllowed ( IRepository repository, bool value ) : void

Private Methods

Method Description
DeletePackageSource ( string name, string source ) : void
GetIsPrereleaseAllowedKey ( IRepository repository ) : string
SavePackageSource ( string name, string source, bool isEnabled = true, bool isOfficial = true ) : bool
SavePackageSource ( string name, string source, bool isEnabled = true, bool isOfficial = true, bool verifyFeed = true ) : bool
SavePackageSources ( IEnumerable packageSources ) : void

Method Details

DisablePackageSource() public method

public DisablePackageSource ( string name, string source ) : void
name string
source string
return void

GetDestinationFolder() public method

public GetDestinationFolder ( ) : string
return string

GetIsPrereleaseAllowed() public method

public GetIsPrereleaseAllowed ( IRepository repository ) : bool
repository IRepository
return bool

LoadPackageSources() public method

public LoadPackageSources ( bool onlyEnabled = false ) : IEnumerable
onlyEnabled bool
return IEnumerable

NuGetConfigurationService() public method

public NuGetConfigurationService ( IConfigurationService configurationService, IPackageSourceProvider packageSourceProvider, INuGetFeedVerificationService feedVerificationService ) : System
configurationService IConfigurationService
packageSourceProvider IPackageSourceProvider
feedVerificationService INuGetFeedVerificationService
return System

SetDestinationFolder() public method

public SetDestinationFolder ( string value ) : void
value string
return void

SetIsPrereleaseAllowed() public method

public SetIsPrereleaseAllowed ( IRepository repository, bool value ) : void
repository IRepository
value bool
return void