Table of Contents

AddDateTimeConverter Method

Definition

AddDateTimeConverter(IList<XmlConverter>)

Adds an DateTime XML converter to the list.

public static IList<XmlConverter> AddDateTimeConverter(this IList<XmlConverter> converters)

Parameters

converters IList<XmlConverter>

The IList<T> to extend.

Returns

IList<XmlConverter>

A reference to converters after the operation has completed.

Exceptions

ArgumentNullException

converters cannot be null.