C# 클래스 NuGet.Settings

상속: ISettings
파일 보기 프로젝트 열기: xero-github/Nuget 1 사용 예제들

공개 메소드들

메소드 설명
DeleteSection ( string section ) : bool
DeleteValue ( string section, string key ) : bool
GetNestedValues ( string section, string key ) : string>>.IList
GetValue ( string section, string key ) : string
GetValues ( string section ) : string>>.IList
LoadDefaultSettings ( ) : ISettings
SetNestedValues ( string section, string key, string>.IList values ) : void
SetValue ( string section, string key, string value ) : void
SetValues ( string section, string>.IList values ) : void
Settings ( IFileSystem fileSystem ) : System

비공개 메소드들

메소드 설명
EmptyList ( ) : string>>.IList
FindElementByKey ( System.Xml.Linq.XElement sectionElement, string key ) : System.Xml.Linq.XElement
GetOrCreateSection ( System.Xml.Linq.XElement parentElement, string sectionName ) : System.Xml.Linq.XElement
GetSection ( System.Xml.Linq.XElement parentElement, string section ) : System.Xml.Linq.XElement
ReadValue ( System.Xml.Linq.XElement element ) : string>.KeyValuePair
Save ( ) : void
SetValueInternal ( System.Xml.Linq.XElement sectionElement, string key, string value ) : void

메소드 상세

DeleteSection() 공개 메소드

public DeleteSection ( string section ) : bool
section string
리턴 bool

DeleteValue() 공개 메소드

public DeleteValue ( string section, string key ) : bool
section string
key string
리턴 bool

GetNestedValues() 공개 메소드

public GetNestedValues ( string section, string key ) : string>>.IList
section string
key string
리턴 string>>.IList

GetValue() 공개 메소드

public GetValue ( string section, string key ) : string
section string
key string
리턴 string

GetValues() 공개 메소드

public GetValues ( string section ) : string>>.IList
section string
리턴 string>>.IList

LoadDefaultSettings() 공개 정적인 메소드

public static LoadDefaultSettings ( ) : ISettings
리턴 ISettings

SetNestedValues() 공개 메소드

public SetNestedValues ( string section, string key, string>.IList values ) : void
section string
key string
values string>.IList
리턴 void

SetValue() 공개 메소드

public SetValue ( string section, string key, string value ) : void
section string
key string
value string
리턴 void

SetValues() 공개 메소드

public SetValues ( string section, string>.IList values ) : void
section string
values string>.IList
리턴 void

Settings() 공개 메소드

public Settings ( IFileSystem fileSystem ) : System
fileSystem IFileSystem
리턴 System