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

Inheritance: IEnvironmentRepository
ファイルを表示 Open project: urasandesu/Prig Class Usage Examples

Public Methods

Method 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

Method 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 method

public ExistsDirectory ( string path ) : bool
path string
return bool

ExistsFile() public method

public ExistsFile ( string path ) : bool
path string
return bool

GetEnvironmentVariable() public method

public GetEnvironmentVariable ( string variable ) : string
variable string
return string

GetEnvironmentVariable() public method

public GetEnvironmentVariable ( string variable, EnvironmentVariableTarget target ) : string
variable string
target EnvironmentVariableTarget
return string

GetEnvironmentVariables() public method

public GetEnvironmentVariables ( ) : string>.IDictionary
return string>.IDictionary

GetFileDescription() public method

public GetFileDescription ( string path ) : string
path string
return string

GetLibPath() public method

public GetLibPath ( ) : string
return string

GetLogFolder() public method

public GetLogFolder ( ) : string
return string

GetLogFolderKey() public method

public GetLogFolderKey ( ) : string
return string

GetNuGetPath() public method

public GetNuGetPath ( ) : string
return string

GetPackageFolder() public method

public GetPackageFolder ( ) : string
return string

GetPackageFolderKey() public method

public GetPackageFolderKey ( ) : string
return string

GetPrigPath() public method

public GetPrigPath ( ) : string
return string

GetProfilerLocations() public method

public GetProfilerLocations ( ) : ProfilerLocation[]
return ProfilerLocation[]

GetRegistryValue() public method

public GetRegistryValue ( RegistryKey key, string name ) : object
key Microsoft.Win32.RegistryKey
name string
return object

GetRegsvr32Path() public method

public GetRegsvr32Path ( ) : string
return string

GetToolsPath() public method

public GetToolsPath ( ) : string
return string

GetVsixLibPath() public method

public GetVsixLibPath ( ) : string
return string

GetVsixPackageFolder() public method

public GetVsixPackageFolder ( ) : string
return string

GetVsixToolsPath() public method

public GetVsixToolsPath ( ) : string
return string

Is64BitOperatingSystem() public method

public Is64BitOperatingSystem ( ) : bool
return bool

OpenRegistryBaseKey() public method

public OpenRegistryBaseKey ( RegistryHive hKey, RegistryView view ) : RegistryKey
hKey RegistryHive
view RegistryView
return Microsoft.Win32.RegistryKey

OpenRegistrySubKey() public method

public OpenRegistrySubKey ( RegistryKey key, string name ) : RegistryKey
key Microsoft.Win32.RegistryKey
name string
return Microsoft.Win32.RegistryKey

OpenRegistrySubKey() public method

public OpenRegistrySubKey ( RegistryKey key, string name, bool writable ) : RegistryKey
key Microsoft.Win32.RegistryKey
name string
writable bool
return Microsoft.Win32.RegistryKey

RegisterPackageFolder() public method

public RegisterPackageFolder ( ) : void
return void

RegisterToolsPath() public method

public RegisterToolsPath ( ) : void
return void

RemoveLogFolder() public method

public RemoveLogFolder ( ) : void
return void

RemovePackageFolder() public method

public RemovePackageFolder ( ) : void
return void

SetEnvironmentVariable() public method

public SetEnvironmentVariable ( string variable, string value ) : void
variable string
value string
return void

SetEnvironmentVariable() public method

public SetEnvironmentVariable ( string variable, string value, EnvironmentVariableTarget target ) : void
variable string
value string
target EnvironmentVariableTarget
return void

StoreLogFolder() public method

public StoreLogFolder ( string variableValue ) : void
variableValue string
return void

StorePackageFolder() public method

public StorePackageFolder ( string variableValue ) : void
variableValue string
return void

UnregisterPackageFolder() public method

public UnregisterPackageFolder ( ) : void
return void

UnregisterToolsPath() public method

public UnregisterToolsPath ( ) : void
return void