Ejemplo n.º 1
0
 /// <summary>
 /// Gets the request builder for SearchEntityQuery.
 /// </summary>
 /// <returns>The <see cref="ISearchEntityQueryRequestBuilder"/>.</returns>
 public ISearchEntityQueryRequestBuilder Query(
     IEnumerable <SearchRequestObject> requests,
     SearchAlterationOptions queryAlterationOptions = null)
 {
     return(new SearchEntityQueryRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.query"),
                this.Client,
                requests,
                queryAlterationOptions));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs a new <see cref="SearchEntityQueryRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="requests">A requests parameter for the OData method call.</param>
 /// <param name="queryAlterationOptions">A queryAlterationOptions parameter for the OData method call.</param>
 public SearchEntityQueryRequestBuilder(
     string requestUrl,
     IBaseClient client,
     IEnumerable <SearchRequestObject> requests,
     SearchAlterationOptions queryAlterationOptions)
     : base(requestUrl, client)
 {
     this.SetParameter("requests", requests, false);
     this.SetParameter("queryAlterationOptions", queryAlterationOptions, true);
 }