public void AddToStatusList(string description, bool executionHalted) { RuleExecutionStatusItem ruleStatus = new RuleExecutionStatusItem(); ruleStatus.Description = description; ruleStatus.ExecutionHalted = executionHalted; this.RuleExecutionStatus.RuleExecutionStatusList.Add(ruleStatus); }
public void PopulateFromLinqExecutionStatus(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionHalted = executionStatus.Halted; foreach (YellowstonePathology.Business.Rules.ExecutionMessage executionMessage in executionStatus.ExecutionMessages) { RuleExecutionStatusItem ruleExecutionstatusItem = new RuleExecutionStatusItem(); ruleExecutionstatusItem.Description = executionMessage.Message; ruleExecutionstatusItem.ExecutionHalted = executionMessage.Halted; this.m_RuleExecutionStatusList.Add(ruleExecutionstatusItem); } }