C# Класс GitHub.Helpers.SettingsStore

Показать файл Открыть проект

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

Метод Описание
Read ( string property, object defaultValue ) : object
Read ( string subpath, string property, object defaultValue ) : object

Read from a settings store

SettingsStore ( WritableSettingsStore store, string root ) : System.IO
Write ( string property, object value ) : void
Write ( string subpath, string property, object value ) : void

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

Read() публичный Метод

public Read ( string property, object defaultValue ) : object
property string
defaultValue object
Результат object

Read() публичный Метод

Read from a settings store
public Read ( string subpath, string property, object defaultValue ) : object
subpath string The subcollection path (appended to the path passed to the constructor)
property string The property name to read
defaultValue object The default value to use in case the property doesn't exist. /// The type of the default value will be used to figure out the proper way to read the property, so if pass null, /// the property will be read as a string (which may or may not be what you want)
Результат object

SettingsStore() публичный Метод

public SettingsStore ( WritableSettingsStore store, string root ) : System.IO
store WritableSettingsStore
root string
Результат System.IO

Write() публичный Метод

public Write ( string property, object value ) : void
property string
value object
Результат void

Write() публичный Метод

public Write ( string subpath, string property, object value ) : void
subpath string
property string
value object
Результат void