// ------------------------------------------------------------------------------
// 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;
///
/// The base method request builder class used for POST actions.
///
public abstract class BaseActionMethodRequestBuilder : BaseRequestBuilder where T : IBaseRequest
{
private Dictionary _parameters = new Dictionary();
///
/// Constructs a new BaseActionMethodRequestBuilder.
///
/// The URL for the request.
/// The for handling requests.
public BaseActionMethodRequestBuilder(
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