/// <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)); }
private BingSearchQueryResult(SearchResponse response, Exception exception, object userState) { this.Response = response; this.Error = exception; this.UserState = userState; }
public BingSearchQueryResult(SearchResponse response) : this(response, null, null) { }
public BingSearchQueryResult(SearchResponse response, object userState) : this(response, null, userState) { }