public MockLibrarySelector(Dispatcher dispatcher, MockLibraryOperations libraryOperations, MockErrorHandler errorHandler, MockFileValidator fileValidator, UnitTestEventAggregator eventAggregator) { _dispatcher = dispatcher; _errorHandler = errorHandler; _fileValidator = fileValidator; _eventAggregator = eventAggregator; _libraryOperations = libraryOperations ?? new MockLibraryOperations(_eventAggregator); }
public MockLibraryView(Dispatcher dispatcher, MockLibraryOperations mockLibraryOps, MockErrorHandler errorHandler, MockFileValidator fileValidator, string path, UnitTestEventAggregator eventAggregator) { Items = new ObservableCollection <LibraryViewNode>(); _eventAggregator = eventAggregator; _dispatcher = dispatcher; _mockLibraryOps = mockLibraryOps; _libraryOps = new LibraryContentOperations(_mockLibraryOps, this, errorHandler, fileValidator, _dispatcher, _eventAggregator); Path = path; }
public MockErrorHandlerView() { MockErrorHandler = new MockErrorHandler(); Errors = new ObservableCollection <string>(); }