C# Class ZeroInstall.Store.Implementations.StoreConfig

Manages IStore implementation directories.
Datei anzeigen Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
SetMachineWideImplementationDirs ( [ paths ) : void

Sets the list of custom implementation directories in the current machine-wide configuration.

SetUserImplementationDirs ( [ paths ) : void

Sets the list of custom implementation directories in the current user configuration.

Private Methods

Method Description
GetImplementationDirs ( [ configPath ) : IEnumerable
GetImplementationDirs ( bool serviceMode = false ) : IEnumerable
GetMachineWideConfigFile ( ) : string
GetMachineWideImplementationDirs ( ) : IEnumerable
GetUserConfigFile ( ) : string
GetUserImplementationDirs ( ) : IEnumerable
SetImplementationDirs ( [ configPath, [ paths ) : void

Sets the list of implementation directories in a specific configuration file.

Method Details

SetMachineWideImplementationDirs() public static method

Sets the list of custom implementation directories in the current machine-wide configuration.
There was a problem writing a configuration file. Access to a configuration file was not permitted.
public static SetMachineWideImplementationDirs ( [ paths ) : void
paths [ The list of implementation directories to set.
return void

SetUserImplementationDirs() public static method

Sets the list of custom implementation directories in the current user configuration.
There was a problem writing a configuration file. Access to a configuration file was not permitted.
public static SetUserImplementationDirs ( [ paths ) : void
paths [ The list of implementation directories to set.
return void