예제 #1
0
		DnSpyLoaderManager(IImageManager imageManager, IThemeManager themeManager, ISettingsManager settingsManager, [ImportMany] IEnumerable<Lazy<IDnSpyLoader, IDnSpyLoaderMetadata>> mefLoaders) {
			this.imageManager = imageManager;
			this.themeManager = themeManager;
			this.settingsManager = settingsManager;
			this.loaders = mefLoaders.OrderBy(a => a.Metadata.Order).ToArray();
			this.windowLoader = new WindowLoader(this, imageManager, themeManager, settingsManager, loaders);
		}
예제 #2
0
 DnSpyLoaderManager(IImageManager imageManager, IThemeManager themeManager, ISettingsManager settingsManager, [ImportMany] IEnumerable <Lazy <IDnSpyLoader, IDnSpyLoaderMetadata> > mefLoaders)
 {
     this.imageManager    = imageManager;
     this.themeManager    = themeManager;
     this.settingsManager = settingsManager;
     this.loaders         = mefLoaders.OrderBy(a => a.Metadata.Order).ToArray();
     this.windowLoader    = new WindowLoader(this, imageManager, themeManager, settingsManager, loaders);
 }
예제 #3
0
 internal void LoadAllCodeFinished()
 {
     Debug.Assert(windowLoader != null);
     windowLoader = null;
     if (OnAppLoaded != null)
     {
         OnAppLoaded(this, EventArgs.Empty);
     }
 }
예제 #4
0
		internal void LoadAllCodeFinished() {
			Debug.Assert(windowLoader != null);
			windowLoader = null;
			if (OnAppLoaded != null)
				OnAppLoaded(this, EventArgs.Empty);
		}
예제 #5
0
		DsLoaderService(ISettingsService settingsService, [ImportMany] IEnumerable<Lazy<IDsLoader, IDsLoaderMetadata>> mefLoaders) {
			this.settingsService = settingsService;
			loaders = mefLoaders.OrderBy(a => a.Metadata.Order).ToArray();
			windowLoader = new WindowLoader(this, settingsService, loaders);
		}
예제 #6
0
 DsLoaderService(ISettingsService settingsService, [ImportMany] IEnumerable <Lazy <IDsLoader, IDsLoaderMetadata> > mefLoaders)
 {
     this.settingsService = settingsService;
     this.loaders         = mefLoaders.OrderBy(a => a.Metadata.Order).ToArray();
     this.windowLoader    = new WindowLoader(this, settingsService, loaders);
 }