示例#1
0
        /// <summary>
        /// Finds the parts.
        /// </summary>
        protected override void FindParts()
        {
            base.FindParts();

            ThemeManager.AddParts(GetExports <ITheme>());
            PresentationManager.AddParts(GetExports <IAppFactory>(), GetExports <ISettingsPage>(), GetExports <IHomePageInfo>());
            PlaybackManager.AddParts(GetExports <IMediaPlayer>());
            ScreensaverManager.AddParts(GetExports <IScreensaverFactory>());
        }