All Downloads are FREE. Search and download functionalities are using the official Maven repository.

csharp.IApiAccessor.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show 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 - 2024 Weber Informatics LLC | Privacy Policy