public EndpointDiscoveryMetadata11[] FindEndpoints(FindCriteria11 criteria) { var endpoints = implementation.FindEndpoints(criteria.ToFindCriteria()); return(Array.ConvertAll(endpoints, EndpointDiscoveryMetadata11.FromEndpointDiscoveryMetadata)); }
IAsyncResult IServiceCatalog.BeginFindServices(FindCriteria11 criteria, AsyncCallback callback, object state) { return(new SynchronousResult(callback, state, implementation.FindServices(criteria.ToFindCriteria()) .Select(service => EndpointDiscoveryMetadata11.FromEndpointDiscoveryMetadata(service)))); }
public IAsyncResult BeginFindEndpoints(FindCriteria11 criteria, AsyncCallback callback, object state) { return(new SynchronousResult(callback, state, FindEndpoints(criteria))); }
EndpointDiscoveryMetadata11[] IServiceCatalog.FindServices(FindCriteria11 criteria) { return(null); }