Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public IEnumerable <IActorCommand> GetAllowedCommands(ISecurity security, IActor actor) { foreach (IActorCommand command in this.commands) { if (!security.ActorHasAccessControl(actor, command.AccessControlRequired)) { continue; } yield return(command); } }