
csharp.IApiAccessor.mustache Maven / Gradle / Ivy
The newest version!
{{>partial_header}}
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
{{#netStandard}}
using RestSharp.Portable;
{{/netStandard}}
{{^netStandard}}
using RestSharp;
{{/netStandard}}
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
Configuration 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; }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy