protected override bool OnCanExecute(object parameter) { if (parameter is ITableDescriptor descriptor) { if (TableUtility.CanViewContent(this.authenticator, descriptor) == true) { return(true); } } return(false); }