예제 #1
0
 /// <summary>
 /// Create a SearchRequest using specified information
 /// </summary>
 /// <param name="searchStores">Specified SearchStore arrays</param>
 /// <returns>A SearchRequest instance</returns>
 public static SearchRequest CreateSearchRequest(Request.SearchStore[] searchStores)
 {
     SearchRequest request = new SearchRequest();
     Request.Search requestData = new Request.Search { Items = searchStores };
     request.RequestData = requestData;
     return request;
 }
예제 #2
0
 /// <summary>
 /// Create an empty SearchRequest instance
 /// </summary>
 /// <returns>An empty SearchRequest instance</returns>
 public static SearchRequest CreateSearchRequest()
 {
     SearchRequest request = new SearchRequest();
     Request.Search requestData = new Request.Search();
     request.RequestData = requestData;
     return request;
 }