예제 #1
0
        public SettingsHelper(IAppSettingsData appSettingsData, IAppSettings settings)
        {
            this.AppSettingsData = appSettingsData;
            this.appSettings     = AppSettingsData.ReadAppSettings(settings);

            if (this.appSettings.Count <= 0)
            {
                // Setup default appSettings.
                this.AppSettings.Initialize();
                this.WriteSettings();
            }
        }
예제 #2
0
        public SettingsHelper(IAppSettingsData appSettingsData, IAppSettings settings)
        {
            this.AppSettingsData = appSettingsData;
            this.appSettings = AppSettingsData.ReadAppSettings(settings);

            if (this.appSettings.Count <= 0)
            {
                // Setup default appSettings.
                this.AppSettings.Initialize();
                this.WriteSettings();
            }
        }
예제 #3
0
 public AppSettingsData()
 {
     this.AppSettingsDataHelper = new AppSettingsDataHelper();
 }
예제 #4
0
 public AppSettingsData()
 {
     this.AppSettingsDataHelper = new AppSettingsDataHelper();
 }