Share via


OpenApiExtensibleDictionary<T> Constructors

Definition

Overloads

OpenApiExtensibleDictionary<T>()

Parameterless constructor

OpenApiExtensibleDictionary<T>(Dictionary<String,T>, IDictionary<String,IOpenApiExtension>)

Initializes a copy of OpenApiExtensibleDictionary<T> class.

OpenApiExtensibleDictionary<T>()

Parameterless constructor

protected OpenApiExtensibleDictionary ();
Protected Sub New ()

Applies to

OpenApiExtensibleDictionary<T>(Dictionary<String,T>, IDictionary<String,IOpenApiExtension>)

Initializes a copy of OpenApiExtensibleDictionary<T> class.

protected OpenApiExtensibleDictionary (System.Collections.Generic.Dictionary<string,T> dictionary = default, System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Interfaces.IOpenApiExtension> extensions = default);
new Microsoft.OpenApi.Models.OpenApiExtensibleDictionary<'T (requires 'T :> Microsoft.OpenApi.Interfaces.IOpenApiSerializable)> : System.Collections.Generic.Dictionary<string, 'T (requires 'T :> Microsoft.OpenApi.Interfaces.IOpenApiSerializable)> * System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Interfaces.IOpenApiExtension> -> Microsoft.OpenApi.Models.OpenApiExtensibleDictionary<'T (requires 'T :> Microsoft.OpenApi.Interfaces.IOpenApiSerializable)>
Protected Sub New (Optional dictionary As Dictionary(Of String, T) = Nothing, Optional extensions As IDictionary(Of String, IOpenApiExtension) = Nothing)

Parameters

dictionary
Dictionary<String,T>

The generic dictionary.

extensions
IDictionary<String,IOpenApiExtension>

The dictionary of IOpenApiExtension.

Applies to