Compartir a través de


JsonObjectInfoValues<T>.ObjectCreator Propiedad

Definición

Obtiene o establece un mecanismo para crear una instancia de la clase o estructura mediante un constructor sin parámetros durante la deserialización.

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

Valor de propiedad

Func<T>

Comentarios

Esta API la usa la salida del generador de origen System.Text.Json y no debe llamarse directamente.

Se aplica a