public ScannerSetting GetSettingByName( string name, bool quickScan )
		{
			ScannerSetting result;
			if( quickScan )
			{
				var helper = new XmlSettingsHelper( Properties.Settings.Default.QuickScanSettings );
				result = helper.GetSettingByName( name );
			}
			else
			{
				result = this._settingsHelper.GetSettingByName( name );
			}
			return result;
		}
Ejemplo n.º 2
0
        public ScannerSetting GetSettingByName(string name, bool quickScan)
        {
            ScannerSetting result;

            if (quickScan)
            {
                var helper = new XmlSettingsHelper(Properties.Settings.Default.QuickScanSettings);
                result = helper.GetSettingByName(name);
            }
            else
            {
                result = this._settingsHelper.GetSettingByName(name);
            }
            return(result);
        }
		public SettingsManager()
		{
			this._settingsHelper = new XmlSettingsHelper( this._settingsFilePath );
		}
Ejemplo n.º 4
0
 public SettingsManager()
 {
     this._settingsHelper = new XmlSettingsHelper(this._settingsFilePath);
 }