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)); } }
public override void LoadValues(IDictionary<string, string> cfg, IJobResolver jobResolver) { base.LoadValues(cfg, jobResolver); PeriodMilliseconds = long.Parse(cfg["PeriodMilliseconds"]); }
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)); } }
public override void LoadValues(IDictionary <string, string> cfg, IJobResolver jobResolver) { base.LoadValues(cfg, jobResolver); PeriodMilliseconds = long.Parse(cfg["PeriodMilliseconds"]); }