JsonNullableStructCollectionReaderWriter<TCollection,TConcreteCollection,TElement> Klasa

Definicja

A JsonValueReaderWriter<TValue> dla kolekcji typów wartości pierwotnych dopuszczalnych wartości null.

public class JsonNullableStructCollectionReaderWriter<TCollection,TConcreteCollection,TElement> : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<System.Collections.Generic.IEnumerable<TElement?>>, Microsoft.EntityFrameworkCore.Storage.Internal.ICompositeJsonValueReaderWriter where TCollection : IEnumerable<TElement?> where TElement : struct
type JsonNullableStructCollectionReaderWriter<#seq<Nullable<'Element>>, 'ConcreteCollection, 'Element (requires 'Element : struct)> = class
    inherit JsonValueReaderWriter<seq<Nullable<'Element>>>
    interface ICompositeJsonValueReaderWriter
Public Class JsonNullableStructCollectionReaderWriter(Of TCollection, TConcreteCollection, TElement)
Inherits JsonValueReaderWriter(Of IEnumerable(Of Nullable(Of TElement)))
Implements ICompositeJsonValueReaderWriter

Parametry typu

TCollection

Typ kolekcji.

TConcreteCollection

Typ kolekcji do utworzenia indeksu w razie potrzeby.

TElement

Typ elementu.

Dziedziczenie
JsonNullableStructCollectionReaderWriter<TCollection,TConcreteCollection,TElement>
Implementuje
Microsoft.EntityFrameworkCore.Storage.Internal.ICompositeJsonValueReaderWriter

Konstruktory

JsonNullableStructCollectionReaderWriter<TCollection,TConcreteCollection,TElement>(JsonValueReaderWriter<TElement>)

Tworzy nowe wystąpienie tego czytnika/składnika zapisywania kolekcji przy użyciu danego czytnika/składnika zapisywania dla jego elementów.

Właściwości

ValueType

Typ wartości, która jest odczytywana/zapisywana.

(Odziedziczone po JsonValueReaderWriter<TValue>)

Metody

FromJson(Utf8JsonReaderManager, Object)

Odczytuje wartość strumienia lub bufora JSON UTF8.

(Odziedziczone po JsonValueReaderWriter<TValue>)
FromJsonString(String, Object)

Odczytuje wartość z formatu JSON w ciągu.

(Odziedziczone po JsonValueReaderWriter)
FromJsonTyped(Utf8JsonReaderManager, Object)

Odczytuje wartość z formatu JSON.

ToJson(Utf8JsonWriter, Object)

Zapisuje wartość w formacie JSON.

(Odziedziczone po JsonValueReaderWriter<TValue>)
ToJsonString(Object)

Zapisuje wartość w ciągu JSON.

(Odziedziczone po JsonValueReaderWriter)
ToJsonTyped(Utf8JsonWriter, IEnumerable<Nullable<TElement>>)

A JsonValueReaderWriter<TValue> dla kolekcji typów wartości pierwotnych dopuszczalnych wartości null.

ToJsonTyped(Utf8JsonWriter, TValue)

Zapisuje wartość w formacie JSON.

(Odziedziczone po JsonValueReaderWriter<TValue>)

Jawne implementacje interfejsu

ICompositeJsonValueReaderWriter.InnerReaderWriter

A JsonValueReaderWriter<TValue> dla kolekcji typów wartości pierwotnych dopuszczalnych wartości null.

Dotyczy