public IEnumerable <ServiceEndpoint> GetEndpointsForConnection(string connectionId, IEnumerable <ServiceEndpoint> availableEnpoints)
            {
                if (_broken)
                {
                    throw new InvalidOperationException();
                }

                return(_inner.GetEndpointsForConnection(connectionId, availableEnpoints));
            }
コード例 #2
0
 public virtual IEnumerable <ServiceEndpoint> GetEndpointsForConnection(string connectionId, IEnumerable <ServiceEndpoint> endpoints)
 {
     return(_inner.GetEndpointsForConnection(connectionId, endpoints));
 }