/// <summary> /// Refreshes instance grid view. /// Allows to apply filters to a list of instances. /// </summary> public void RefreshInstanceList() { this.instanceList = this.ruleList.GetInstanceList(this.dateFilter.Value); if (this.enableTimeFilter.Checked) { this.instanceList.FilterByTime(this.timeFilterFrom.Value, this.timeFilterTo.Value); } this.instanceGridView.DataSource = this.instanceList; this.RefreshScheduleBrowser(); }
/// <summary> /// Creates default, parser object. /// </summary> public CrontabRuleParser() { this.rules = new CrontabRuleList(); this.instances = new CrontabInstanceList(); }