protected override async Task CloseAsync()
        {
            _keyboardMappingsService.Save();

            _commandManager.IsKeyboardEventsSuspended = false;

            await base.CloseAsync();
        }
Ejemplo n.º 2
0
        protected override async Task CloseAsync()
        {
            _keyboardMappingsService.Save();

            await base.CloseAsync();
        }
        public static Task SaveAsync(this IKeyboardMappingsService keyboardMappingsService)
        {
            Argument.IsNotNull(() => keyboardMappingsService);

            return(TaskHelper.Run(() => keyboardMappingsService.Save(), true));
        }
 protected override async Task Close()
 {
     _keyboardMappingsService.Save();
 }