public NetworkEndpoint GetInterrogatorOrDefault(string issuer) { var endpoint = cache.GetOrDefault(issuer); if (endpoint.IsInterrogator) { return(endpoint); } return(null); }
public NetworkEndpoint GetResponderOrDefault(string issuer) { var endpoint = cache.GetOrDefault(issuer); if (endpoint.IsResponder) { return(endpoint); } return(null); }