Class BanCommand
- Namespace
- Shard.Server.Modules.AccessControl.Commands
- Assembly
- Shard.Server.Modules.dll
public sealed class BanCommand : CommandBase, ISyncCommand, ICommand
- Inheritance
-
BanCommand
- Implements
- Inherited Members
Constructors
BanCommand(IAccessControlService, IEventBus)
public BanCommand(IAccessControlService accessControl, IEventBus eventBus)
Parameters
accessControlIAccessControlServiceeventBusIEventBus
Methods
Execute(CommandContext)
protected override void Execute(CommandContext context)
Parameters
contextCommandContext