Exemple #1
0
        protected override async void OnStartup(StartupEventArgs e)
        {
            var appIcon            = WpfUI.Properties.Resources.M;
            var assemblyParameters = AssemblyParameters.CreateFromAssembly(typeof(App).Assembly);

            var appConfig = ApplicationConfiguration.CreateFromIcon("Word Analysis System", appIcon);
            await BootstrapService.StartUpAsync(assemblyParameters, appConfig);
        }
        protected override async void OnStartup(StartupEventArgs e)
        {
            var appIcon            = TestUI.Properties.Resources.M;
            var assemblyParameters = ContainerConfiguration.CreateFromAssembly(typeof(App).Assembly);

            var appConfig = ApplicationConfiguration.CreateFromIcon("Hello Test", appIcon);
            await BootstrapService.StartUpAsync(assemblyParameters, appConfig, Maybe.CreateNone <Action>());
        }
        protected override async void OnStartup(StartupEventArgs e)
        {
            var thisAssembly = typeof(App).Assembly;
            var appIcon      = WpfUI.Properties.Resources.M;

            var appConfig = ApplicationConfiguration.CreateFromIcon("Know-how Management System", appIcon);

            await BootstrapService.StartUpAsync(new AssemblyParameters(thisAssembly, "Mmu.Kms"), appConfig);
        }