FormattingUtilities Class¶
Contains methods which are used by Xml input formatters.
- Namespace
Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal- Assemblies
- Microsoft.AspNetCore.Mvc.Formatters.Xml
Syntax¶
public class FormattingUtilities
-
class
Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal.FormattingUtilities
Methods¶
-
GetDefaultXmlReaderQuotas()¶ Gets the default Reader Quotas for XmlReader.
Return type: System.Xml.XmlDictionaryReaderQuotas Returns: XmlReaderQuotas with default values public static XmlDictionaryReaderQuotas GetDefaultXmlReaderQuotas()
-
GetDefaultXmlWriterSettings()¶ Gets the default XmlWriterSettings.
Return type: System.Xml.XmlWriterSettings Returns: Default System.Xml.XmlWriterSettingspublic static XmlWriterSettings GetDefaultXmlWriterSettings()
-