示例#1
0
 public MyTransport(IPEndPointSource endpointSource)
 {
 }
示例#2
0
 public IpTransport(IPEndPointSource endPointSource)
 {
     _endpointSource = endPointSource ?? throw new ArgumentNullException(nameof(endPointSource));
 }
 public CachedIpEndpointSource(IPEndPointSource inner, TimeSpan cacheDuration)
 {
     _inner         = inner;
     _cachedValue   = null;
     _cacheDuration = cacheDuration;
 }