C# Class Urasandesu.Prig.VSPackage.Models.EnvironmentRepository

Inheritance: IEnvironmentRepository
Afficher le fichier Open project: urasandesu/Prig Class Usage Examples

Méthodes publiques

Méthode Description
ExistsDirectory ( string path ) : bool
ExistsFile ( string path ) : bool
GetEnvironmentVariable ( string variable ) : string
GetEnvironmentVariable ( string variable, EnvironmentVariableTarget target ) : string
GetEnvironmentVariables ( ) : string>.IDictionary
GetFileDescription ( string path ) : string
GetLibPath ( ) : string
GetLogFolder ( ) : string
GetLogFolderKey ( ) : string
GetNuGetPath ( ) : string
GetPackageFolder ( ) : string
GetPackageFolderKey ( ) : string
GetPrigPath ( ) : string
GetProfilerLocations ( ) : ProfilerLocation[]
GetRegistryValue ( RegistryKey key, string name ) : object
GetRegsvr32Path ( ) : string
GetToolsPath ( ) : string
GetVsixLibPath ( ) : string
GetVsixPackageFolder ( ) : string
GetVsixToolsPath ( ) : string
Is64BitOperatingSystem ( ) : bool
OpenRegistryBaseKey ( RegistryHive hKey, RegistryView view ) : RegistryKey
OpenRegistrySubKey ( RegistryKey key, string name ) : RegistryKey
OpenRegistrySubKey ( RegistryKey key, string name, bool writable ) : RegistryKey
RegisterPackageFolder ( ) : void
RegisterToolsPath ( ) : void
RemoveLogFolder ( ) : void
RemovePackageFolder ( ) : void
SetEnvironmentVariable ( string variable, string value ) : void
SetEnvironmentVariable ( string variable, string value, EnvironmentVariableTarget target ) : void
StoreLogFolder ( string variableValue ) : void
StorePackageFolder ( string variableValue ) : void
UnregisterPackageFolder ( ) : void
UnregisterToolsPath ( ) : void

Private Methods

Méthode Description
RegisterToolsPath ( Func pathGetter, Action pathSetter ) : void
SendMessageTimeout ( IntPtr hWnd, int Msg, IntPtr wParam, string lParam, SendMessageTimeoutFlags fuFlags, uint uTimeout, IntPtr lpdwResult ) : IntPtr
SetMachineEnvironmentVariable ( string variable, string value ) : void
SetUserEnvironmentVariable ( string variable, string value ) : void
UnregisterToolsPath ( Func pathGetter, Action pathSetter ) : void

Method Details

ExistsDirectory() public méthode

public ExistsDirectory ( string path ) : bool
path string
Résultat bool

ExistsFile() public méthode

public ExistsFile ( string path ) : bool
path string
Résultat bool

GetEnvironmentVariable() public méthode

public GetEnvironmentVariable ( string variable ) : string
variable string
Résultat string

GetEnvironmentVariable() public méthode

public GetEnvironmentVariable ( string variable, EnvironmentVariableTarget target ) : string
variable string
target EnvironmentVariableTarget
Résultat string

GetEnvironmentVariables() public méthode

public GetEnvironmentVariables ( ) : string>.IDictionary
Résultat string>.IDictionary

GetFileDescription() public méthode

public GetFileDescription ( string path ) : string
path string
Résultat string

GetLibPath() public méthode

public GetLibPath ( ) : string
Résultat string

GetLogFolder() public méthode

public GetLogFolder ( ) : string
Résultat string

GetLogFolderKey() public méthode

public GetLogFolderKey ( ) : string
Résultat string

GetNuGetPath() public méthode

public GetNuGetPath ( ) : string
Résultat string

GetPackageFolder() public méthode

public GetPackageFolder ( ) : string
Résultat string

GetPackageFolderKey() public méthode

public GetPackageFolderKey ( ) : string
Résultat string

GetPrigPath() public méthode

public GetPrigPath ( ) : string
Résultat string

GetProfilerLocations() public méthode

public GetProfilerLocations ( ) : ProfilerLocation[]
Résultat ProfilerLocation[]

GetRegistryValue() public méthode

public GetRegistryValue ( RegistryKey key, string name ) : object
key Microsoft.Win32.RegistryKey
name string
Résultat object

GetRegsvr32Path() public méthode

public GetRegsvr32Path ( ) : string
Résultat string

GetToolsPath() public méthode

public GetToolsPath ( ) : string
Résultat string

GetVsixLibPath() public méthode

public GetVsixLibPath ( ) : string
Résultat string

GetVsixPackageFolder() public méthode

public GetVsixPackageFolder ( ) : string
Résultat string

GetVsixToolsPath() public méthode

public GetVsixToolsPath ( ) : string
Résultat string

Is64BitOperatingSystem() public méthode

public Is64BitOperatingSystem ( ) : bool
Résultat bool

OpenRegistryBaseKey() public méthode

public OpenRegistryBaseKey ( RegistryHive hKey, RegistryView view ) : RegistryKey
hKey RegistryHive
view RegistryView
Résultat Microsoft.Win32.RegistryKey

OpenRegistrySubKey() public méthode

public OpenRegistrySubKey ( RegistryKey key, string name ) : RegistryKey
key Microsoft.Win32.RegistryKey
name string
Résultat Microsoft.Win32.RegistryKey

OpenRegistrySubKey() public méthode

public OpenRegistrySubKey ( RegistryKey key, string name, bool writable ) : RegistryKey
key Microsoft.Win32.RegistryKey
name string
writable bool
Résultat Microsoft.Win32.RegistryKey

RegisterPackageFolder() public méthode

public RegisterPackageFolder ( ) : void
Résultat void

RegisterToolsPath() public méthode

public RegisterToolsPath ( ) : void
Résultat void

RemoveLogFolder() public méthode

public RemoveLogFolder ( ) : void
Résultat void

RemovePackageFolder() public méthode

public RemovePackageFolder ( ) : void
Résultat void

SetEnvironmentVariable() public méthode

public SetEnvironmentVariable ( string variable, string value ) : void
variable string
value string
Résultat void

SetEnvironmentVariable() public méthode

public SetEnvironmentVariable ( string variable, string value, EnvironmentVariableTarget target ) : void
variable string
value string
target EnvironmentVariableTarget
Résultat void

StoreLogFolder() public méthode

public StoreLogFolder ( string variableValue ) : void
variableValue string
Résultat void

StorePackageFolder() public méthode

public StorePackageFolder ( string variableValue ) : void
variableValue string
Résultat void

UnregisterPackageFolder() public méthode

public UnregisterPackageFolder ( ) : void
Résultat void

UnregisterToolsPath() public méthode

public UnregisterToolsPath ( ) : void
Résultat void