C# Class ZeroInstall.Store.Implementations.StoreConfig

Manages IStore implementation directories.
Afficher le fichier Open project: 0install/0install-win Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat void

SetUserImplementationDirs() public static méthode

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.
Résultat void