Ejemplo n.º 1
0
 public void ThrowIfNotCompatibleWith(IPEndPoint endpoint, ClientVersion version) => ThrowIfNotCompatibleWith(CompatibilitySet.Network, endpoint.ToString(), version);
Ejemplo n.º 2
0
 public bool IsCompatibleWith(IPEndPoint endpoint, ClientVersion version) => IsCompatibleWith(CompatibilitySet.Network, endpoint.ToString(), version);
Ejemplo n.º 3
0
 public void ThrowIfNotCompatibleWith(IPEndPoint endpoint, ClientVersion version) => ThrowIfNotCompatibleWith(endpoint.ToString(), version);
Ejemplo n.º 4
0
 public CompatibilityChecker(ILogger <CompatibilityChecker> logger, ClientVersion requiredPackageVersion, ClientVersion requiredNetworkVersion)
 {
     this.logger = logger ?? throw new ArgumentNullException(nameof(logger));
     this.requiredPackageVersion = requiredPackageVersion;
     this.requiredNetworkVersion = requiredNetworkVersion;
     this.notifiedSites          = new HashSet <string>(StringComparer.OrdinalIgnoreCase);
 }
Ejemplo n.º 5
0
 public bool IsCompatibleWith(IPEndPoint endpoint, ClientVersion version) => IsCompatibleWith(endpoint.ToString(), version);