/* * Tribufu API * * API to access Tribufu services. * * The version of the OpenAPI document: 1.3.0 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using System.Collections.Generic; namespace Tribufu.Client { /// /// provides a compile-time extension point for globally configuring /// API Clients. /// /// /// A customized implementation via partial class may reside in another file and may /// be excluded from automatic generation via a .openapi-generator-ignore file. /// public partial class GlobalConfiguration : Configuration { #region Private Members private static readonly object GlobalConfigSync = new { }; private static IReadableConfiguration _globalConfiguration; #endregion Private Members #region Constructors /// private GlobalConfiguration() { } /// public GlobalConfiguration(IDictionary defaultHeader, IDictionary apiKey, IDictionary apiKeyPrefix, string basePath = "http://localhost:3000/api") : base(defaultHeader, apiKey, apiKeyPrefix, basePath) { } static GlobalConfiguration() { Instance = new GlobalConfiguration(); } #endregion Constructors /// /// Gets or sets the default Configuration. /// /// Configuration. public static IReadableConfiguration Instance { get { return _globalConfiguration; } set { lock (GlobalConfigSync) { _globalConfiguration = value; } } } } }