Edytuj

Udostępnij za pośrednictwem


ISerializerBuilder Interface

Definition

Builder interface for configuring serialization.

public interface ISerializerBuilder
type ISerializerBuilder = interface
Public Interface ISerializerBuilder

Properties

Services

Gets the service collection.

Extension Methods

AddJsonSerializer(ISerializerBuilder, Func<Type,Boolean>, Func<Type,Boolean>, Action<OptionsBuilder<JsonCodecOptions>>)

Adds support for serializing and deserializing values using JsonSerializer.

AddJsonSerializer(ISerializerBuilder, Func<Type,Boolean>, JsonSerializerOptions)

Adds support for serializing and deserializing values using JsonSerializer.

AddNewtonsoftJsonSerializer(ISerializerBuilder, Func<Type,Boolean>, JsonSerializerSettings)

Adds support for serializing and deserializing values using Newtonsoft.Json.JsonSerializer.

AddNewtonsoftJsonSerializer(ISerializerBuilder, Func<Type,Boolean>, Action<OptionsBuilder<NewtonsoftJsonCodecOptions>>)

Adds support for serializing and deserializing values using Newtonsoft.Json.JsonSerializer.

AddNewtonsoftJsonSerializer(ISerializerBuilder, Func<Type,Boolean>, Func<Type,Boolean>, Action<OptionsBuilder<NewtonsoftJsonCodecOptions>>)

Adds support for serializing and deserializing values using Newtonsoft.Json.JsonSerializer.

AddAssembly(ISerializerBuilder, Assembly)

Adds an assembly to the builder.

Configure(ISerializerBuilder, IConfigureOptions<TypeManifestOptions>)

Configures the serialization builder.

Configure(ISerializerBuilder, Action<TypeManifestOptions>)

Configures the serialization builder.

Configure(ISerializerBuilder, Func<IServiceProvider,IConfigureOptions<TypeManifestOptions>>)

Configures the serialization builder.

Applies to