C# 클래스 GitHub.Helpers.SettingsStore

파일 보기 프로젝트 열기: github/VisualStudio

공개 메소드들

메소드 설명
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