/// <summary> /// Загрузить настройки. /// </summary> /// <param name="settings">Хранилище настроек.</param> public override void Load(SettingsStorage settings) { base.Load(settings); LongMa.LoadNotNull(settings, "LongMa"); ShortMa.LoadNotNull(settings, "ShortMa"); }
/// <summary> /// Load settings. /// </summary> /// <param name="settings">Settings storage.</param> public override void Load(SettingsStorage settings) { base.Load(settings); LongMa.LoadNotNull(settings, nameof(LongMa)); ShortMa.LoadNotNull(settings, nameof(ShortMa)); MedianPrice.LoadNotNull(settings, nameof(MedianPrice)); }