public XmlActionResult ( |
||
document | ||
return | System |
public XmlActionResult(XmlDocument document)
{
if (document == null)
{
throw new ArgumentNullException(nameof(document));
}
_document = document;
MimeType = "text/xml";
Formatting = Formatting.Indented;
}