C# Класс GitSharp.Core.SystemReader

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
getConfigFile ( string gitdir ) : FileBasedConfig

Returns the GitSharp configuration file from the OS-dependant location.

getCurrentTime ( ) : long
getHostname ( ) : string
getInstance ( ) : SystemReader
getOperatingSystem ( ) : PlatformType

Returns Windows, Linux or Mac for identification of the OS in use

getProperty ( string key ) : string
getTimezone ( long when ) : int
getenv ( string variable ) : string
openUserConfig ( ) : FileBasedConfig
setInstance ( SystemReader newReader ) : void

Описание методов

getConfigFile() публичный абстрактный Метод

Returns the GitSharp configuration file from the OS-dependant location.
public abstract getConfigFile ( string gitdir ) : FileBasedConfig
gitdir string
Результат FileBasedConfig

getCurrentTime() публичный абстрактный Метод

public abstract getCurrentTime ( ) : long
Результат long

getHostname() публичный абстрактный Метод

public abstract getHostname ( ) : string
Результат string

getInstance() публичный статический Метод

public static getInstance ( ) : SystemReader
Результат SystemReader

getOperatingSystem() публичный абстрактный Метод

Returns Windows, Linux or Mac for identification of the OS in use
public abstract getOperatingSystem ( ) : PlatformType
Результат PlatformType

getProperty() публичный абстрактный Метод

public abstract getProperty ( string key ) : string
key string
Результат string

getTimezone() публичный абстрактный Метод

public abstract getTimezone ( long when ) : int
when long
Результат int

getenv() публичный абстрактный Метод

public abstract getenv ( string variable ) : string
variable string
Результат string

openUserConfig() публичный абстрактный Метод

public abstract openUserConfig ( ) : FileBasedConfig
Результат FileBasedConfig

setInstance() публичный статический Метод

public static setInstance ( SystemReader newReader ) : void
newReader SystemReader
Результат void