csharp.IApiAccessor.mustache Maven / Gradle / Ivy
{{>partial_header}}
using System;
namespace {{packageName}}.Client
{
///
/// Represents configuration aspects required to interact with the API endpoints.
///
{{>visibility}} interface IApiAccessor
{
///
/// Gets or sets the configuration object
///
/// An instance of the Configuration
IReadableConfiguration Configuration { get; set; }
///
/// Gets the base path of the API client.
///
/// The base path
string GetBasePath();
///
/// Provides a factory method hook for the creation of exceptions.
///
ExceptionFactory ExceptionFactory { get; set; }
}
}