private void TestRegularExpression(Action <Value> callback)
        {
            var testWindow = new RegularExpressionTesterWindow
            {
                Model =
                {
                    Expression = tbExpression.Text,
                }
            };

            testWindow.ViewModel.UpdateRegularExpressionEvent += callback;
            testWindow.ShowDialog();
        }
        private void TestRegularExpression(Action <Value> callback)
        {
            var testWindow = new RegularExpressionTesterWindow
            {
                Model =
                {
                    Expression = tbExpression.Text,
                    Distinct   = ckbDistinct.Checked,
                    FileInfo   = ckbFileInfo.Checked
                }
            };

            testWindow.ViewModel.UpdateRegularExpressionEvent += callback;
            testWindow.ShowDialog();
        }
Example #3
0
 public RegularExpressionTesterViewModel(RegularExpressionTesterWindow view)
 {
     View = view;
 }