JsonMetadataServices.CreateIReadOnlySetInfo<TCollection,TElement> Método

Definição

public:
generic <typename TCollection, typename TElement>
 where TCollection : System::Collections::Generic::IReadOnlySet<TElement> static System::Text::Json::Serialization::Metadata::JsonTypeInfo<TCollection> ^ CreateIReadOnlySetInfo(System::Text::Json::JsonSerializerOptions ^ options, System::Text::Json::Serialization::Metadata::JsonCollectionInfoValues<TCollection> ^ collectionInfo);
public static System.Text.Json.Serialization.Metadata.JsonTypeInfo<TCollection> CreateIReadOnlySetInfo<TCollection,TElement>(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : System.Collections.Generic.IReadOnlySet<TElement>;
static member CreateIReadOnlySetInfo : System.Text.Json.JsonSerializerOptions * System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<'Collection (requires 'Collection :> System.Collections.Generic.IReadOnlySet<'Element>)> -> System.Text.Json.Serialization.Metadata.JsonTypeInfo<'Collection (requires 'Collection :> System.Collections.Generic.IReadOnlySet<'Element>)> (requires 'Collection :> System.Collections.Generic.IReadOnlySet<'Element>)
Public Shared Function CreateIReadOnlySetInfo(Of TCollection As IReadOnlySet(Of TElement), TElement As IReadOnlySet(Of TElement)) (options As JsonSerializerOptions, collectionInfo As JsonCollectionInfoValues(Of TCollection)) As JsonTypeInfo(Of TCollection)

Parâmetros de Tipo Genérico

TCollection
TElement

Parâmetros

Devoluções

JsonTypeInfo<TCollection>

Aplica-se a