C# 클래스 SharpOptions.Options

상속: IOptions
파일 보기 프로젝트 열기: repinvv/SharpLogger 1 사용 예제들

공개 메소드들

메소드 설명
Get ( string key, string defaultValue = null ) : string
GetInt ( string key, int defaultValue ) : int
Options ( ) : System

Empty options without reader

Options ( string path, string name, OptionsReaderType type = OptionsReaderType.Default ) : System
Save ( ) : void
TryAdd ( string key, string value ) : bool
this ( string key ) : string

비공개 메소드들

메소드 설명
ReadOptions ( ) : void

메소드 상세

Get() 공개 메소드

public Get ( string key, string defaultValue = null ) : string
key string
defaultValue string
리턴 string

GetInt() 공개 메소드

public GetInt ( string key, int defaultValue ) : int
key string
defaultValue int
리턴 int

Options() 공개 메소드

Empty options without reader
public Options ( ) : System
리턴 System

Options() 공개 메소드

public Options ( string path, string name, OptionsReaderType type = OptionsReaderType.Default ) : System
path string
name string
type OptionsReaderType
리턴 System

Save() 공개 메소드

public Save ( ) : void
리턴 void

TryAdd() 공개 메소드

public TryAdd ( string key, string value ) : bool
key string
value string
리턴 bool

this() 공개 메소드

public this ( string key ) : string
key string
리턴 string