コード例 #1
0
        /// <summary>
        /// Загрузить настройки.
        /// </summary>
        /// <param name="settings">Хранилище настроек.</param>
        public override void Load(SettingsStorage settings)
        {
            base.Load(settings);

            LongMa.LoadNotNull(settings, "LongMa");
            ShortMa.LoadNotNull(settings, "ShortMa");
        }
コード例 #2
0
        /// <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));
        }