Table of Contents

Class SystemTextJsonConfigurationExtensions

Namespace
Quartz
Assembly
Quartz.dll

Choosing System.Text.Json as a persistent store's serializer, and registering the serializers for trigger and calendar types of the application's own.

public static class SystemTextJsonConfigurationExtensions
Inheritance
SystemTextJsonConfigurationExtensions
Inherited Members

Methods

UseSystemTextJsonSerializer(IPersistentStoreBuilder, Action<SystemTextJsonSerializerRegistry>?)

Use System.Text.Json as data serialization strategy.

public static IPersistentStoreBuilder UseSystemTextJsonSerializer(this IPersistentStoreBuilder builder, Action<SystemTextJsonSerializerRegistry>? configure = null)

Parameters

builder IPersistentStoreBuilder

The persistent store being configured.

configure Action<SystemTextJsonSerializerRegistry>

Optional registration of serializers for custom trigger and calendar types, on the same SystemTextJsonSerializerRegistry the serializer resolves through. What the callback registers belongs to this scheduler alone — it is not shared with any other scheduler in the process.

Returns

IPersistentStoreBuilder