Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
        public async Task Handle(Shutdown request)
        {
            await _contentInstallation.Abort().ConfigureAwait(false);

            _shutdownHandler.Shutdown();
        }