C# 클래스 ClrPlus.Platform.EnvironmentUtility

파일 보기 프로젝트 열기: perpetual-motion/clrplus 1 사용 예제들

공개 메소드들

메소드 설명
Append ( this searchPath, string pathToAdd ) : IEnumerable
Apply ( IDictionary env ) : void
BroadcastChange ( ) : void
FindInPath ( string filename, string searchPath = null ) : string
GetSystemEnvironmentVariable ( string name ) : string
GetUserEnvironmentVariable ( string name ) : string
Pop ( ) : void
Prepend ( this searchPath, string pathToAdd ) : IEnumerable
Push ( ) : void
Remove ( this searchPath, string pathToRemove ) : IEnumerable
SetSystemEnvironmentVariable ( string name, string value ) : void
SetUserEnvironmentVariable ( string name, string value ) : void

메소드 상세

Append() 공개 정적인 메소드

public static Append ( this searchPath, string pathToAdd ) : IEnumerable
searchPath this
pathToAdd string
리턴 IEnumerable

Apply() 공개 정적인 메소드

public static Apply ( IDictionary env ) : void
env IDictionary
리턴 void

BroadcastChange() 공개 정적인 메소드

public static BroadcastChange ( ) : void
리턴 void

FindInPath() 공개 정적인 메소드

public static FindInPath ( string filename, string searchPath = null ) : string
filename string
searchPath string
리턴 string

GetSystemEnvironmentVariable() 공개 정적인 메소드

public static GetSystemEnvironmentVariable ( string name ) : string
name string
리턴 string

GetUserEnvironmentVariable() 공개 정적인 메소드

public static GetUserEnvironmentVariable ( string name ) : string
name string
리턴 string

Pop() 공개 정적인 메소드

public static Pop ( ) : void
리턴 void

Prepend() 공개 정적인 메소드

public static Prepend ( this searchPath, string pathToAdd ) : IEnumerable
searchPath this
pathToAdd string
리턴 IEnumerable

Push() 공개 정적인 메소드

public static Push ( ) : void
리턴 void

Remove() 공개 정적인 메소드

public static Remove ( this searchPath, string pathToRemove ) : IEnumerable
searchPath this
pathToRemove string
리턴 IEnumerable

SetSystemEnvironmentVariable() 공개 정적인 메소드

public static SetSystemEnvironmentVariable ( string name, string value ) : void
name string
value string
리턴 void

SetUserEnvironmentVariable() 공개 정적인 메소드

public static SetUserEnvironmentVariable ( string name, string value ) : void
name string
value string
리턴 void