示例#1
0
        public async Task Handle(CancelAll request)
        {
            //await new ActionNotification(Guid.Empty, "Aborting", "", request.ClientId, request.RequestId).Raise() .ConfigureAwait(false);
            await _contentInstallation.Abort().ConfigureAwait(false);

            //            await new ActionNotification(Guid.Empty, "Aborted", "", request.ClientId, request.RequestId).Raise().ConfigureAwait(false);
        }
示例#2
0
        public async Task Handle(PerformUpdate request)
        {
            await _contentInstallation.Abort().ConfigureAwait(false);

            // TODO: Progress reporting etc
            await _stateHandler.StartUpdating().ConfigureAwait(false);

            await _updateHandler.SelfUpdate().ConfigureAwait(false);
        }
示例#3
0
        public async Task Handle(Shutdown request)
        {
            await _contentInstallation.Abort().ConfigureAwait(false);

            _shutdownHandler.Shutdown();
        }