示例#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
 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;
 }
示例#3
0
 FileTabManagerLoader(FileTabSerializer fileTabSerializer, FileTabManager fileTabManager, IFileListLoader fileListLoader)
 {
     this.fileTabSerializer = fileTabSerializer;
     this.fileTabManager    = fileTabManager;
     this.fileListLoader    = fileListLoader;
 }
示例#4
0
 FileTabManagerLoader(FileTabSerializer fileTabSerializer, FileTabManager fileTabManager, IFileListLoader fileListLoader)
 {
     this.fileTabSerializer = fileTabSerializer;
     this.fileTabManager = fileTabManager;
     this.fileListLoader = fileListLoader;
 }