Table of Contents

ApplyToDefaultSettings Method

Definition

ApplyToDefaultSettings(IDecorator<XmlSerializerOptions>)

Applies the enclosed XmlSerializerOptions of the specified decorator to the function delegate DefaultSettings.

public static void ApplyToDefaultSettings(this IDecorator<XmlSerializerOptions> decorator)

Parameters

decorator IDecorator<XmlSerializerOptions>

The IDecorator<T> to extend.

Exceptions

ArgumentNullException

decorator cannot be null.