예제 #1
0
 internal ConnectivityParameters(ConnectivitySource source, ConnectivityDestination destination, Protocol?protocol, ProtocolConfiguration protocolConfiguration, IPVersion?preferredIPVersion)
 {
     Source                = source;
     Destination           = destination;
     Protocol              = protocol;
     ProtocolConfiguration = protocolConfiguration;
     PreferredIPVersion    = preferredIPVersion;
 }
예제 #2
0
        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;
        }