コード例 #1
0
 public void Execute(RemoveClientMachineRegistration command)
 {
     Guard.ForNull(command);
     NetworkAggregate network = CreateAggregate();
     network.RemoveClientMachine(ClientMachineFromCommand(command));
     ExtractEventsToRepository(network.GetUncommittedChanges());
 }