예제 #1
0
 public void ThrowIfNotCompatibleWith(IPEndPoint endpoint, ClientVersion version) => ThrowIfNotCompatibleWith(CompatibilitySet.Network, endpoint.ToString(), version);
예제 #2
0
 public bool IsCompatibleWith(IPEndPoint endpoint, ClientVersion version) => IsCompatibleWith(CompatibilitySet.Network, endpoint.ToString(), version);
예제 #3
0
 public void ThrowIfNotCompatibleWith(IPEndPoint endpoint, ClientVersion version) => ThrowIfNotCompatibleWith(endpoint.ToString(), version);
예제 #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);
 }
예제 #5
0
 public bool IsCompatibleWith(IPEndPoint endpoint, ClientVersion version) => IsCompatibleWith(endpoint.ToString(), version);