public FileListingController(FileListingViewModel ViewModel, MainMenuViewModel MenuViewModel, IMessenger Messenger, IMapper Mapper, IUpkFileRepository Repository, IUpkFileRemoteRepository RemoteRepository) { viewModel = ViewModel; menuViewModel = MenuViewModel; messenger = Messenger; mapper = Mapper; repository = Repository; remoteRepository = RemoteRepository; viewModel.Files = new ObservableCollection<FileViewEntity>(); viewModel.FilterText = String.Empty; viewModel.PropertyChanged += onViewModelPropertyChanged; menuViewModel.PropertyChanged += onMenuViewModelPropertyChanged; allFiles = new List<DomainUpkFile>(); allFileEntities = new List<FileViewEntity>(); registerMessages(); registerCommands(); }
public FileListingController(FileListingViewModel ViewModel, NotesViewModel NotesViewModel, MainMenuViewModel MenuViewModel, IMessenger Messenger, IMapper Mapper, IUpkFileRepository Repository, IUpkFileRemoteRepository RemoteRepository) { viewModel = ViewModel; notesViewModel = NotesViewModel; menuViewModel = MenuViewModel; rebuildController = menuViewModel.rebuildController; messenger = Messenger; mapper = Mapper; repository = Repository; remoteRepository = RemoteRepository; viewModel.Files = new ObservableCollection <FileViewEntity>(); viewModel.FilterText = String.Empty; viewModel.PropertyChanged += onViewModelPropertyChanged; menuViewModel.PropertyChanged += onMenuViewModelPropertyChanged; allFiles = new List <DomainUpkFile>(); allFileEntities = new List <FileViewEntity>(); }
public HeaderController(HeaderViewModel ViewModel, IMessenger Messenger, IMapper Mapper, IUpkFileRemoteRepository RemoteRepository) { viewModel = ViewModel; messenger = Messenger; mapper = Mapper; remoteRepository = RemoteRepository; }
public HeaderController(HeaderViewModel ViewModel, IMessenger Messenger, IMapper Mapper, IUpkFileRemoteRepository RemoteRepository) { viewModel = ViewModel; messenger = Messenger; mapper = Mapper; remoteRepository = RemoteRepository; registerMessages(); registerCommands(); }