Example #1
0
		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)));
        }