Table of Contents

AddStringConverter Method

Definition

AddStringConverter(IDecorator<IList<XmlConverter>>)

Adds an string XML converter to the enclosed IList<T> of the specified decorator.

public static IDecorator<IList<XmlConverter>> AddStringConverter(this IDecorator<IList<XmlConverter>> decorator)

Parameters

decorator IDecorator<IList<XmlConverter>>

The decorator that wraps the IList<T> to extend.

Returns

IDecorator<IList<XmlConverter>>

A reference to decorator after the operation has completed.

Exceptions

ArgumentNullException

decorator cannot be null.