示例#1
0
 public TestsVM()
 {
     EmptyPathTestVM       = new StandardSearchVM(new SingleColumnResultsProvider());
     ValueConvertersTestVM = new StandardSearchVM(new SingleColumnResultsProvider());
     OneWayToSourceTestVM  = new WorkItem3944VM();
     WorkItem4391TestVM    = new StandardSearchVM(new ObjectListProvider());
     WorkItem5544TestVM    = new WorkItem5544VM();
     WorkItem6309TestVM    = new StandardSearchVM(new WideAndNarrowResultsProvider());
     WorkItem6036TestVM    = new WorkItem6036VM();
     WorkItem6308TestVM    = new WorkItem6308VM();
     WorkItem6310TestVM    = new WorkItem6310VM();
 }
示例#2
0
 public ExamplesVM()
 {
     NoResultsVM            = new StandardSearchVM(new NoSearchResultsProvider());
     SingleColumnVM         = new StandardSearchVM(new SingleColumnResultsProvider());
     LimitingResultsVM      = new StandardSearchVM(new InvertedSingleColumnResultsProvider());
     MultipleColumnVM       = new StandardSearchVM(new MultiColumnResultsProvider());
     CustomizingColumnsVM   = new StandardSearchVM(new MultiColumnResultsProvider());
     ChangeColumnPositionVM = new StandardSearchVM(new MultiColumnResultsProvider());
     ORMExampleVM           = new StandardSearchVM(new LightspeedResultsProvider());
     SearchFrequencyVM      = new SearchFrequencyExampleVM();
     LengthySearchesVM      = new LengthySearchExampleVM();
     WatermarkVM            = new StandardSearchVM(new SingleColumnResultsProvider());
 }
 public LengthySearchExampleVM()
 {
     LongSearch          = new StandardSearchVM(new NotifyingProvider(new DelayedResultsProvider(), HandleSearchNotifications));
     SearchNotifications = new ObservableCollection <string>();
 }
示例#4
0
 public WorkItem6036VM()
 {
     DirectoryOnlySearch    = new StandardSearchVM(new FilePathSearchProvider(FilePathSearchProvider.PathSearchIncludes.DirectoriesOnly));
     FileOnlySearch         = new StandardSearchVM(new FilePathSearchProvider(FilePathSearchProvider.PathSearchIncludes.FilesOnly));
     FileAndDirectorySearch = new StandardSearchVM(new FilePathSearchProvider(FilePathSearchProvider.PathSearchIncludes.FilesAndDirectories));
 }
 public SearchFrequencyExampleVM()
 {
     DelayedSearch       = new StandardSearchVM(new NotifyingProvider(new SingleColumnResultsProvider(), HandleSearchNotifications));
     SearchNotifications = new ObservableCollection <string>();
 }