Esempio n. 1
0
        public FilterBase EditFilter(FilterBase original = null)
        {
            var vm = new FilterElementEditorViewModel(original);

            Messenger.Raise(new TransitionMessage(vm, "ShowFilterElementEditor"));
            if (vm.Success)
            {
                return(vm.ConfiguredFilterBase);
            }
            else
            {
                return(null);
            }
        }
Esempio n. 2
0
 public FilterBase EditFilter(FilterBase original = null)
 {
     var vm = new FilterElementEditorViewModel(original);
     Messenger.Raise(new TransitionMessage(vm, "ShowFilterElementEditor"));
     if (vm.Success)
         return vm.ConfiguredFilterBase;
     else
         return null;
 }