C# Класс POLUtils.PathStorage.PathStorage

Class to handle storage/retrieval of Path Settings.
Показать файл Открыть проект

Открытые методы

Метод Описание
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