<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.6.25358.103" />

DataRequest

struct DataRequest
Encapsulates state of a data request.
public bool AutoConvert { get; set; }

public string Format { get; set; }

public Func<TypeName, Type> Resolver { get; set; }

Provides the list of custom allowed types that user considers safe to deserialize from the payload. Resolver should recognize the closure of all non-primitive and not known types in the payload, such as field types and types in the inheritance hierarchy and the code to match these types to the TypeNames read from the deserialized stream.

public bool TypedRequest { get; set; }

false if the user had not requested any specific type, i.e. the call originates from GetData API family, that returns an Object. true if the user had requested a specific type by calling TryGetData<T> API family.

public DataRequest(string format)