public void ThrowIfNotCompatibleWith(IPEndPoint endpoint, ClientVersion version) => ThrowIfNotCompatibleWith(CompatibilitySet.Network, endpoint.ToString(), version);
public bool IsCompatibleWith(IPEndPoint endpoint, ClientVersion version) => IsCompatibleWith(CompatibilitySet.Network, endpoint.ToString(), version);
public void ThrowIfNotCompatibleWith(IPEndPoint endpoint, ClientVersion version) => ThrowIfNotCompatibleWith(endpoint.ToString(), version);
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); }
public bool IsCompatibleWith(IPEndPoint endpoint, ClientVersion version) => IsCompatibleWith(endpoint.ToString(), version);