// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ namespace Microsoft.Graph { using System.Collections.Generic; using System.Linq; /// /// The base method request builder class. /// public abstract class BaseFunctionMethodRequestBuilder : BaseRequestBuilder where T : IBaseRequest { private List _parameters = new List(); private List _queryOptions = new List(); /// /// Whether to include parameters in the query string. /// protected bool passParametersInQueryString; /// /// Constructs a new BaseFunctionMethodRequestBuilder. /// /// The URL for the request. /// The for handling requests. public BaseFunctionMethodRequestBuilder( string requestUrl, IBaseClient client) : base(requestUrl, client) { } /// /// Derived classes implement this function to construct the specific request class instance /// when a request object is required. /// /// The URL to use for the request. /// The query and header options for the request. /// An instance of the request class. protected abstract T CreateRequest(string functionUrl, IEnumerable