Exemplo n.º 1
0
        public void Execute(object parameter)
        {
            RuleEditorInfo ruleEditorInfo = new RuleEditorInfo
            {
                DocumentGuid   = ruleManagerViewModel.DocumentGuid,
                RegexRule      = RegexRule.Duplicate(ruleManagerViewModel.DocumentGuid, ruleManagerViewModel.SelectedRegexRule, false),
                RuleEditorType = RuleEditorType.DuplicateExistingRule
            };

            new RuleEditorView(ruleEditorInfo).ShowDialog();
        }