internal ConnectivityParameters(ConnectivitySource source, ConnectivityDestination destination, Protocol?protocol, ProtocolConfiguration protocolConfiguration, IPVersion?preferredIPVersion) { Source = source; Destination = destination; Protocol = protocol; ProtocolConfiguration = protocolConfiguration; PreferredIPVersion = preferredIPVersion; }
public ConnectivityContent(ConnectivitySource source, ConnectivityDestination destination) { if (source == null) { throw new ArgumentNullException(nameof(source)); } if (destination == null) { throw new ArgumentNullException(nameof(destination)); } Source = source; Destination = destination; }