Class XmlConverterExtensions
- Assembly
- Cuemon.Extensions.AspNetCore.Xml.dll
Extension methods for the XmlConverter class.
public static class XmlConverterExtensions
- Inheritance
-
XmlConverterExtensions
Methods
AddCookieCollectionConverter(IList<XmlConverter>)
Adds an Microsoft.AspNetCore.Http.IRequestCookieCollection XML converter to the list.
public static IList<XmlConverter> AddCookieCollectionConverter(this IList<XmlConverter> converters)
Parameters
converters
IList<XmlConverter>The IList{XmlConverter} to extend.
Returns
- IList<XmlConverter>
A reference to
converters
after the operation has completed.
AddFormCollectionConverter(IList<XmlConverter>)
Adds an Microsoft.AspNetCore.Http.IFormCollection XML converter to the list.
public static IList<XmlConverter> AddFormCollectionConverter(this IList<XmlConverter> converters)
Parameters
converters
IList<XmlConverter>The IList{XmlConverter} to extend.
Returns
- IList<XmlConverter>
A reference to
converters
after the operation has completed.
AddHeaderDictionaryConverter(IList<XmlConverter>)
Adds an Microsoft.AspNetCore.Http.IHeaderDictionary XML converter to the list.
public static IList<XmlConverter> AddHeaderDictionaryConverter(this IList<XmlConverter> converters)
Parameters
converters
IList<XmlConverter>The list of XML converters.
Returns
- IList<XmlConverter>
A reference to
converters
after the operation has completed.
AddHttpExceptionDescriptorConverter(IList<XmlConverter>, Action<ExceptionDescriptorOptions>)
Adds an ExceptionDescriptor XML converter to the list.
public static IList<XmlConverter> AddHttpExceptionDescriptorConverter(this IList<XmlConverter> converters, Action<ExceptionDescriptorOptions> setup = null)
Parameters
converters
IList<XmlConverter>The IList{XmlConverter} to extend.
setup
Action<ExceptionDescriptorOptions>The ExceptionDescriptorOptions which may be configured.
Returns
- IList<XmlConverter>
A reference to
converters
after the operation has completed.
AddProblemDetailsConverter(IList<XmlConverter>)
Adds a Microsoft.AspNetCore.Mvc.ProblemDetails XML converter to the list.
public static IList<XmlConverter> AddProblemDetailsConverter(this IList<XmlConverter> converters)
Parameters
converters
IList<XmlConverter>The IList{XmlConverter} to extend.
Returns
- IList<XmlConverter>
A reference to
converters
after the operation has completed.
AddQueryCollectionConverter(IList<XmlConverter>)
Adds an Microsoft.AspNetCore.Http.IQueryCollection XML converter to the list.
public static IList<XmlConverter> AddQueryCollectionConverter(this IList<XmlConverter> converters)
Parameters
converters
IList<XmlConverter>The IList{XmlConverter} to extend.
Returns
- IList<XmlConverter>
A reference to
converters
after the operation has completed.
AddStringValuesConverter(IList<XmlConverter>)
Adds an StringValues XML converter to the list.
public static IList<XmlConverter> AddStringValuesConverter(this IList<XmlConverter> converters)
Parameters
converters
IList<XmlConverter>The IList{XmlConverter} to extend.
Returns
- IList<XmlConverter>
A reference to
converters
after the operation has completed.