Share via


JsonNullableStructCollectionReaderWriter<TCollection,TConcreteCollection,TElement> Constructor

Definition

Creates a new instance of this collection reader/writer, using the given reader/writer for its elements.

public JsonNullableStructCollectionReaderWriter (Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<TElement> elementReaderWriter);
new Microsoft.EntityFrameworkCore.Storage.Json.JsonNullableStructCollectionReaderWriter<#seq<Nullable<'Element>>, 'ConcreteCollection, 'Element (requires 'Element : struct)> : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<'Element (requires 'Element : struct)> -> Microsoft.EntityFrameworkCore.Storage.Json.JsonNullableStructCollectionReaderWriter<#seq<Nullable<'Element>>, 'ConcreteCollection, 'Element (requires 'Element : struct)>
Public Sub New (elementReaderWriter As JsonValueReaderWriter(Of TElement))

Parameters

elementReaderWriter
JsonValueReaderWriter<TElement>

The reader/writer to use for each element.

Applies to