Skip to content

RowJsonConverter.SetLocalShouldDeserializeExtension method

Sets the local ShouldDeserializeExtension hook for the current thread and async context. Useful for background tasks, async methods, and testing to set the hook locally without affecting other threads or tests.

public static Func<IRow, string, bool>? SetLocalShouldDeserializeExtension(
    Func<IRow, string, bool>? value)
parameter description
value The hook. Can be null to use the default hook.

Return Value

The old local hook, if any.

See Also