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); }
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); }
internal void LoadAllCodeFinished() { Debug.Assert(windowLoader != null); windowLoader = null; if (OnAppLoaded != null) { OnAppLoaded(this, EventArgs.Empty); } }
internal void LoadAllCodeFinished() { Debug.Assert(windowLoader != null); windowLoader = null; if (OnAppLoaded != null) OnAppLoaded(this, EventArgs.Empty); }
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); }
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); }