JsonCollectionInfoValues<TCollection>.ObjectCreator Egenskap

Definition

A Func<TResult> för att skapa en instans av samlingen vid deserialisering.

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)

Egenskapsvärde

Func<TCollection>

Kommentarer

Det här API:et används av utdata från System.Text.Json-källgeneratorn och bör inte anropas direkt.

Gäller för