private static System.Workflow.Activities.Rules.RuleSet DeserializeRuleSet(string ruleSetFileName) { XmlTextReader rulesReader = new XmlTextReader(RuleFilePath + ruleSetFileName); System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer serializerRead = new System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer(); System.Workflow.Activities.Rules.RuleSet ruleSet = (System.Workflow.Activities.Rules.RuleSet)serializerRead.Deserialize(rulesReader); rulesReader.Close(); return ruleSet; }
protected void Deserialize() { XmlTextReader rulesReader = new XmlTextReader(this.RulesFileStream); System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer serializerRead = new System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer(); System.Workflow.Activities.Rules.RuleSet ruleSet = (System.Workflow.Activities.Rules.RuleSet)serializerRead.Deserialize(rulesReader); rulesReader.Close(); this.m_RuleSet = ruleSet; }
protected void Deserialize() { XmlTextReader rulesReader = new XmlTextReader(this.RulesFileStream); System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer serializerRead = new System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer(); System.Workflow.Activities.Rules.RuleSet ruleSet = (System.Workflow.Activities.Rules.RuleSet)serializerRead.Deserialize(rulesReader); rulesReader.Close(); this.m_RuleSet = ruleSet; }
private static System.Workflow.Activities.Rules.RuleSet DeserializeRuleSet(string ruleSetFileName) { XmlTextReader rulesReader = new XmlTextReader(RuleFilePath + ruleSetFileName); System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer serializerRead = new System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer(); System.Workflow.Activities.Rules.RuleSet ruleSet = (System.Workflow.Activities.Rules.RuleSet)serializerRead.Deserialize(rulesReader); rulesReader.Close(); return(ruleSet); }