< Summary

Information
Class: /home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Client/GlobalConfiguration.cs
Assembly: Default
File(s): /home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Client/GlobalConfiguration.cs
Line coverage
82%
Covered lines: 14
Uncovered lines: 3
Coverable lines: 17
Total lines: 67
Line coverage: 82.3%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

/home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Client/GlobalConfiguration.cs

#LineLine coverage
 1/*
 2 * WeShare API
 3 *
 4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 5 *
 6 * The version of the OpenAPI document: 1.0
 7 * Generated by: https://github.com/openapitools/openapi-generator.git
 8 */
 9
 10
 11using System.Collections.Generic;
 12
 13namespace Applications.WeShare.Swagger.Client
 14{
 15    /// <summary>
 16    /// <see cref="GlobalConfiguration"/> provides a compile-time extension point for globally configuring
 17    /// API Clients.
 18    /// </summary>
 19    /// <remarks>
 20    /// A customized implementation via partial class may reside in another file and may
 21    /// be excluded from automatic generation via a .openapi-generator-ignore file.
 22    /// </remarks>
 23    public partial class GlobalConfiguration : Configuration
 24    {
 25        #region Private Members
 26
 127        private static readonly object GlobalConfigSync = new { };
 28        private static IReadableConfiguration _globalConfiguration;
 29
 30        #endregion Private Members
 31
 32        #region Constructors
 33
 34        /// <inheritdoc />
 135        private GlobalConfiguration()
 136        {
 137        }
 38
 39        /// <inheritdoc />
 040        public GlobalConfiguration(IDictionary<string, string> defaultHeader, IDictionary<string, string> apiKey, IDicti
 041        {
 042        }
 43
 44        static GlobalConfiguration()
 145        {
 146            Instance = new GlobalConfiguration();
 147        }
 48
 49        #endregion Constructors
 50
 51        /// <summary>
 52        /// Gets or sets the default Configuration.
 53        /// </summary>
 54        /// <value>Configuration.</value>
 55        public static IReadableConfiguration Instance
 56        {
 2157            get { return _globalConfiguration; }
 58            set
 159            {
 160                lock (GlobalConfigSync)
 161                {
 162                    _globalConfiguration = value;
 163                }
 164            }
 65        }
 66    }
 67}