Class XmlConverterListExtensions
Extension methods for the System.Collections.Generic.IList<T>.
Inheritance
System.Object
XmlConverterListExtensions
Namespace: Cuemon.AspNetCore.Mvc.Formatters.Xml.Converters
Assembly: Cuemon.AspNetCore.Mvc.Formatters.Xml.dll
Syntax
public static class XmlConverterListExtensions
Methods
| Improve this DocAddCookieCollectionConverter(IList<XmlConverter>)
Adds an Microsoft.AspNetCore.Http.IRequestCookieCollection XML converter to the list.
Declaration
public static void AddCookieCollectionConverter(this IList<XmlConverter> converters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<XmlConverter> | converters | The list of XML converters. |
AddFormCollectionConverter(IList<XmlConverter>)
Adds an Microsoft.AspNetCore.Http.IFormCollection XML converter to the list.
Declaration
public static void AddFormCollectionConverter(this IList<XmlConverter> converters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<XmlConverter> | converters | The list of XML converters. |
AddHeaderDictionaryConverter(IList<XmlConverter>)
Adds an Microsoft.AspNetCore.Http.IHeaderDictionary XML converter to the list.
Declaration
public static void AddHeaderDictionaryConverter(this IList<XmlConverter> converters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<XmlConverter> | converters | The list of XML converters. |
AddHttpExceptionDescriptorConverter(IList<XmlConverter>, Action<ExceptionDescriptorSerializationOptions>)
Adds an ExceptionDescriptor XML converter to the list.
Declaration
public static void AddHttpExceptionDescriptorConverter(this IList<XmlConverter> converters, Action<ExceptionDescriptorSerializationOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<XmlConverter> | converters | The list of XML converters. |
System.Action<ExceptionDescriptorSerializationOptions> | setup | The ExceptionDescriptorSerializationOptions which need to be configured. |
AddQueryCollectionConverter(IList<XmlConverter>)
Adds an Microsoft.AspNetCore.Http.IQueryCollection XML converter to the list.
Declaration
public static void AddQueryCollectionConverter(this IList<XmlConverter> converters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<XmlConverter> | converters | The list of XML converters. |
AddStringValuesConverter(IList<XmlConverter>)
Adds an Microsoft.Extensions.Primitives.StringValues XML converter to the list.
Declaration
public static void AddStringValuesConverter(this IList<XmlConverter> converters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<XmlConverter> | converters | The list of XML converters. |