Bearbeiten

Freigeben über


JsonCollectionInfoValues<TCollection>.ObjectCreator Property

Definition

A Func<TResult> to create an instance of the collection when deserializing.

public:
 property Func<TCollection> ^ ObjectCreator { Func<TCollection> ^ get(); void set(Func<TCollection> ^ value); };
public Func<TCollection>? ObjectCreator { get; init; }
member this.ObjectCreator : Func<'Collection> with get, set
Public Property ObjectCreator As Func(Of TCollection)

Property Value

Func<TCollection>

Remarks

This API is for use by the output of the System.Text.Json source generator and should not be called directly.

Applies to