Example #1
0
        protected override void ConfigureModuleCatalog()
        {
            base.ConfigureModuleCatalog();
            ModuleCatalog.Add <HostModule>();
            ModuleCatalog.Add <ShellModule>();
            ModuleCatalog.Define <SettingsModule>()
            .DependsOn <ShellModule>()
            .Add();

#if FAKE
            ModuleCatalog.Add <FakeModule>();
            ModuleCatalog.Define <AccountModules>()
            .DependsOn <FakeModule>()
            .Add();
            ModuleCatalog.Define <ConnectivityModules>()
            .DependsOn <FakeModule>()
            .Add();
#else
            //TODO: Eventually this should move out to configuration that will be updated by Nuget packages. -LC

            ModuleCatalog.Add <BluetoothModule>();


            ModuleCatalog.Define <AccountModules>()
            //.DependsOn<AccModulesGoHere>()
            .Add();
            ModuleCatalog.Define <ConnectivityModules>()
            .DependsOn <BluetoothModule>()
            .Add();
#endif

            ModuleCatalog.Define <DashboardModule>()
            .DependsOn <ShellModule>()
            .DependsOn <SettingsModule>()
            .Add();

            ModuleCatalog.Define <WelcomeModule>()
            .DependsOn <SettingsModule>()
            .DependsOn <AccountModules>()
            .DependsOn <ConnectivityModules>()
            .Add();

            ModuleCatalog.Define <Toolbar.ToolbarModule>()
            .DependsOn <SettingsModule>()
            .DependsOn <AccountModules>()
            .DependsOn <ConnectivityModules>()
            .Add();
        }