예제 #1
0
        /// <summary>
        /// Load settings.
        /// </summary>
        /// <param name="storage">Settings storage.</param>
        public override void Load(SettingsStorage storage)
        {
            _conditionTypes.Clear();
            _conditionTypes.AddRange(storage.GetValue <IEnumerable <string> >("ConditionTypes").Select(s => s.To <Type>()));

            _conditionTypes.ForEach(AddColumns);

            base.Load(storage);
        }