コード例 #1
0
        public async Task Start(
            params string[] arguments)
        {
            await Prepare(arguments);

            if (startupPreparationOperation.ShouldTerminate)
            {
                return;
            }

            await postPreparationOperation.RunAsync();

            await mainWindowPreparationOperation.RunAsync();
        }
コード例 #2
0
        public async Task Start(
            params string[] arguments)
        {
            await Prepare(arguments);

            if (startupPreparationOperation.ShouldTerminate)
            {
                logger.Verbose("The startup preparation operation signalled a termination request.");
                return;
            }

            await postPreparationOperation.RunAsync();

            await mainWindowPreparationOperation.RunAsync();
        }