<PackageReference Include="NJsonSchema" Version="10.6.6" />

AsyncJsonReferenceVisitorBase

public abstract class AsyncJsonReferenceVisitorBase
Visitor to transform an object with JsonSchema objects.

Initializes a new instance of the AsyncJsonReferenceVisitorBase class.

Initializes a new instance of the AsyncJsonReferenceVisitorBase class.

public virtual Task VisitAsync(object obj)

Processes an object.

public virtual Task VisitAsync(object obj, CancellationToken cancellationToken)

Processes an object.

protected virtual Task VisitAsync(object obj, string path, string typeNameHint, ISet<object> checkedObjects, Action<object> replacer, CancellationToken cancellationToken)

Processes an object.

protected abstract Task<IJsonReference> VisitJsonReferenceAsync(IJsonReference reference, string path, string typeNameHint, CancellationToken cancellationToken)

Called when a IJsonReference is visited.