public void HandleNewClientEvent(NewClientEventPayload eventPayLoad) { if (log.IsDebugEnabled) { log.Debug("Received new client: " + eventPayLoad); } Clients.Add(eventPayLoad.NewClient); }
public void HandleNewClientEvent(NewClientEventPayload eventPayload) { if (eventPayload == null) { throw new ArgumentNullException("eventPayload"); } if (log.IsDebugEnabled) { log.Debug("Received new client: " + eventPayload); } Clients.Add(eventPayload.NewClient); }