Exemple #1
0
        private void CommandService_CommandsChanged()
        {
            GlobalCommands.Clear();
            foreach (var delegateCommand in _commandService.GetForRole(AppUserModel.RoleModel))
            {
                GlobalCommands.Add(delegateCommand);
            }

            SendPropertyChanged(() => GlobalCommands);
        }