public MSRuleSetTranslationResult(System.Workflow.Activities.Rules.RuleSet dotNetRuleSet,
                                          RuleSetDefinition.RuleSetDefinitions ruleSetDefinitionsAfterTranslation, CodeDomObject codeDomObject,
                                          Dictionary <Guid, TranslationValidationResult> rulesTranslationErrors)
        {
            _dotNetRuleSet = dotNetRuleSet;
            _ruleDefinitionsAfterTranslation = ruleSetDefinitionsAfterTranslation;
            _referenceToCodeDomObject        = codeDomObject;
            _rulesTranslationErrors          = rulesTranslationErrors;

            LoadRuleGuidToRuleName();
            LoadLastModifiedOrCreatedDictionary();
            RemoveRulesNotTranslatedToDotNetRuleSet(rulesTranslationErrors.Keys.ToList());
        }
 public MSRuleSetTranslationResult(CodeDomObject codeDomObject, Dictionary <Guid, TranslationValidationResult> rulesTranslationErrors)
 {
     _referenceToCodeDomObject = codeDomObject;
     _rulesTranslationErrors   = rulesTranslationErrors;
 }