Beispiel #1
0
		FileListLoader(IAppWindow appWindow, FileListManager fileListManager, FileTabManager fileTabManager, FileTabSerializer fileTabSerializer, [ImportMany] IEnumerable<Lazy<IFileListListener, IFileListListenerMetadata>> mefListeners) {
			this.fileListManager = fileListManager;
			this.fileTabManager = fileTabManager;
			this.fileTabSerializer = fileTabSerializer;
			this.listeners = mefListeners.OrderBy(a => a.Metadata.Order).ToArray();
			appWindow.MainWindowClosed += AppWindow_MainWindowClosed;
		}
Beispiel #2
0
 OpenListCommand(IAppWindow appWindow, IFileListLoader fileListLoader, FileListManager fileListManager, IMessageBoxManager messageBoxManager, IFileManager fileManager)
 {
     this.appWindow         = appWindow;
     this.fileListLoader    = fileListLoader;
     this.fileListManager   = fileListManager;
     this.messageBoxManager = messageBoxManager;
     this.fileManager       = fileManager;
 }
Beispiel #3
0
 FileListLoader(IAppWindow appWindow, FileListManager fileListManager, FileTabManager fileTabManager, FileTabSerializer fileTabSerializer, [ImportMany] IEnumerable <Lazy <IFileListListener, IFileListListenerMetadata> > mefListeners)
 {
     this.fileListManager        = fileListManager;
     this.fileTabManager         = fileTabManager;
     this.fileTabSerializer      = fileTabSerializer;
     this.listeners              = mefListeners.OrderBy(a => a.Metadata.Order).ToArray();
     appWindow.MainWindowClosed += AppWindow_MainWindowClosed;
 }
Beispiel #4
0
 OpenListCommand(IAppWindow appWindow, IFileListLoader fileListLoader, FileListManager fileListManager, IMessageBoxManager messageBoxManager, IFileManager fileManager)
 {
     this.appWindow = appWindow;
     this.fileListLoader = fileListLoader;
     this.fileListManager = fileListManager;
     this.messageBoxManager = messageBoxManager;
     this.fileManager = fileManager;
 }