Beispiel #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);
            }
        }
 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;
 }