/// <summary> /// Adds a new <see cref="ClientTransport"/> into this registry. /// </summary> public void Add(ClientTransport transport) { if (transport != null) { _transports[transport.Name] = transport; _allowed.Add(transport.Name); } }
public void Add(ClientTransport transport) { if (transport == null) { return; } _transports[transport.Name] = transport; _allowed.Add(transport.Name); }