Пример #1
0
        public DiscoveryProxyCache(DiscoveryEndpointProvider inner)
        {
            if (inner == null)
            {
                throw new ArgumentNullException("inner");
            }

            this.inner = inner;

            AbstractChannelBuilder.DiscoveryEndpointFaulted += DiscoveryEndpointFaulted;
        }
Пример #2
0
 public DiscoveredEndpointModel ManagedBy(DiscoveryEndpointProvider provider)
 {
     DiscoveryEndpointProvider = provider;
     return(this);
 }