Пример #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;
		}
Пример #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;
 }
Пример #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;
 }
Пример #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;
 }