Beispiel #1
0
        public async Task RunAsync()
        {
            logger.Verbose("Invoking the post preparation operation.");

            await Task.WhenAll(
                trayPreparationOperation.RunAsync(),
                Update());
        }
        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 mainWindowPreparationOperation.RunAsync();

            await trayPreparationOperation.RunAsync();
        }
Beispiel #3
0
 public async Task RunAsync()
 {
     await Task.WhenAll(
         trayPreparationOperation.RunAsync(),
         Update());
 }