Class GlobalConfiguration
GlobalConfiguration provides a compile-time extension point for globally configuring API Clients.
Implements
Inherited Members
object.Equals(object, object)
object.MemberwiseClone()
object.ToString()
Namespace: mailslurp.Client
Assembly: mailslurp.dll
Syntax
public class GlobalConfiguration : Configuration, IReadableConfiguration
Remarks
A customized implementation via partial class may reside in another file and may be excluded from automatic generation via a .openapi-generator-ignore file.
Constructors
View SourceGlobalConfiguration(IDictionary<string, string>, IDictionary<string, string>, IDictionary<string, string>, string)
Declaration
public GlobalConfiguration(IDictionary<string, string> defaultHeader, IDictionary<string, string> apiKey, IDictionary<string, string> apiKeyPrefix, string basePath = "http://localhost:3000/api")
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | defaultHeader | |
IDictionary<string, string> | apiKey | |
IDictionary<string, string> | apiKeyPrefix | |
string | basePath |
Remarks
A customized implementation via partial class may reside in another file and may be excluded from automatic generation via a .openapi-generator-ignore file.
Properties
View SourceInstance
Gets or sets the default Configuration.
Declaration
public static IReadableConfiguration Instance { get; set; }
Property Value
Type | Description |
---|---|
IReadableConfiguration | Configuration. |
Remarks
A customized implementation via partial class may reside in another file and may be excluded from automatic generation via a .openapi-generator-ignore file.