Пример #1
0
        public virtual void LoadValues(IDictionary <string, string> cfg, IJobResolver jobResolver)
        {
            Name   = cfg["Name"];
            Active = bool.Parse(cfg["Active"]);
            Start  = DateTime.Parse(cfg["Start"], CultureInfo.GetCultureInfo(0x0C07));//de-at

            m_Jobs.Clear();
            string[] jobs = cfg["Jobs"].Split(':');
            foreach (string jobName in jobs)
            {
                m_Jobs.Add(jobResolver.GetJobByName(jobName));
            }
        }
Пример #2
0
        public override void LoadValues(IDictionary<string, string> cfg, IJobResolver jobResolver)
        {
            base.LoadValues(cfg, jobResolver);

            PeriodMilliseconds = long.Parse(cfg["PeriodMilliseconds"]);
        }
Пример #3
0
        public virtual void LoadValues(IDictionary<string, string> cfg, IJobResolver jobResolver)
        {
            Name = cfg["Name"];
            Active = bool.Parse(cfg["Active"]);
            Start = DateTime.Parse(cfg["Start"], CultureInfo.GetCultureInfo(0x0C07));//de-at

            m_Jobs.Clear();
            string[] jobs = cfg["Jobs"].Split(':');
            foreach (string jobName in jobs)
            {
                m_Jobs.Add(jobResolver.GetJobByName(jobName));
            }
        }
Пример #4
0
        public override void LoadValues(IDictionary <string, string> cfg, IJobResolver jobResolver)
        {
            base.LoadValues(cfg, jobResolver);

            PeriodMilliseconds = long.Parse(cfg["PeriodMilliseconds"]);
        }