C# 클래스 CloudFlareDDNS.SettingsManager

Configuration file access wrapper
파일 보기 프로젝트 열기: DaniGTA/CloudFlare-DDNS-Updater 1 사용 예제들

공개 메소드들

메소드 설명
SettingsManager ( ) : System

Class constructor

getSetting ( string szName ) : Setting

Get a setting from the config file by a given name

loadSettings ( ) : void

Load application settings from file

saveSettings ( ) : void

Save application settings to file

setSetting ( string szName, string szValue ) : void

Set a setting in the user config file

비공개 메소드들

메소드 설명
createSettingsFile ( ) : void

Create the folder in %appdata%, and the config file

setDefaults ( ) : void

Load in some default settings for first launch

메소드 상세

SettingsManager() 공개 메소드

Class constructor
public SettingsManager ( ) : System
리턴 System

getSetting() 공개 메소드

Get a setting from the config file by a given name
public getSetting ( string szName ) : Setting
szName string
리턴 Setting

loadSettings() 공개 메소드

Load application settings from file
public loadSettings ( ) : void
리턴 void

saveSettings() 공개 메소드

Save application settings to file
public saveSettings ( ) : void
리턴 void

setSetting() 공개 메소드

Set a setting in the user config file
public setSetting ( string szName, string szValue ) : void
szName string
szValue string
리턴 void