C# 클래스 POLUtils.PathStorage.PathStorage

Class to handle storage/retrieval of Path Settings.
파일 보기 프로젝트 열기: polserver/poltools

공개 메소드들

메소드 설명
AddPath ( string PathName, string Value ) : bool

Adds a new PathName to the Path Settings.

GetPath ( string PathName ) : string

Get the Path stored for a specific PathName.

GetPathNames ( ) : string[]

Get all Path Social Names From The Path Storage.

IsSet ( string PathName ) : bool

Bool for if a PathName contains any data.

PathStorage ( ) : System

Default Constructor. Initializes the following Paths Storage Names: UOPath MULPath POLPath POLExePath UOConvertExePath ECompileExePath RunECLExePath POLConfigPath POLDataPath POLLogPath POLRealmPath

RemovePath ( string PathName ) : bool

Remove a PathName from the Path Settings.

SetPath ( string PathName, string NewValue ) : bool

Sets the Path stored for a specific PathName.

비공개 메소드들

메소드 설명
InitPathSettings ( ) : void

메소드 상세

AddPath() 공개 메소드

Adds a new PathName to the Path Settings.
public AddPath ( string PathName, string Value ) : bool
PathName string PathName to add.
Value string Value to add to the PathName.
리턴 bool

GetPath() 공개 메소드

Get the Path stored for a specific PathName.
public GetPath ( string PathName ) : string
PathName string PathName to look up the Path for.
리턴 string

GetPathNames() 공개 메소드

Get all Path Social Names From The Path Storage.
public GetPathNames ( ) : string[]
리턴 string[]

IsSet() 공개 메소드

Bool for if a PathName contains any data.
public IsSet ( string PathName ) : bool
PathName string PathName to check.
리턴 bool

PathStorage() 공개 메소드

Default Constructor. Initializes the following Paths Storage Names: UOPath MULPath POLPath POLExePath UOConvertExePath ECompileExePath RunECLExePath POLConfigPath POLDataPath POLLogPath POLRealmPath
public PathStorage ( ) : System
리턴 System

RemovePath() 공개 메소드

Remove a PathName from the Path Settings.
public RemovePath ( string PathName ) : bool
PathName string PathName to remove.
리턴 bool

SetPath() 공개 메소드

Sets the Path stored for a specific PathName.
public SetPath ( string PathName, string NewValue ) : bool
PathName string PathName to set the Path for.
NewValue string New string value to set the Path for.
리턴 bool