コード例 #1
0
 /// <summary>
 /// Invokes the _callback with a result that contains the response.
 /// </summary>
 /// <param name="response">The Bing Maps response object.</param>
 public void Notify(SearchResponse response)
 {
     this._callback(new BingSearchQueryResult(response, this._userState));
 }
コード例 #2
0
 private BingSearchQueryResult(SearchResponse response, Exception exception, object userState)
 {
     this.Response = response;
     this.Error = exception;
     this.UserState = userState;
 }
コード例 #3
0
 public BingSearchQueryResult(SearchResponse response)
     : this(response, null, null)
 {
 }
コード例 #4
0
 public BingSearchQueryResult(SearchResponse response, object userState)
     : this(response, null, userState)
 {
 }