예제 #1
0
        /// <inheritdoc />
        async Task <ICollection <string> > IDiscoverable <string> .DiscoverAsync(CancellationToken cancellationToken)
        {
            var request  = new MatchDiscoveryRequest();
            var response = await this.serviceClient.SendAsync <ICollection <string> >(request, cancellationToken).ConfigureAwait(false);

            return(this.matchupConverter.Convert(response, null));
        }
예제 #2
0
        /// <inheritdoc />
        ICollection <string> IDiscoverable <string> .Discover()
        {
            var request  = new MatchDiscoveryRequest();
            var response = this.serviceClient.Send <ICollection <string> >(request);

            return(this.matchupConverter.Convert(response, null));
        }