BVNetwork.NotFound.Core.CustomRedirects.XmlActionResult.XmlActionResult C# (CSharp) Method

XmlActionResult() public method

public XmlActionResult ( XmlDocument document ) : System
document System.Xml.XmlDocument
return System
        public XmlActionResult(XmlDocument document)
        {
            if (document == null)
            {
                throw new ArgumentNullException(nameof(document));
            }

            _document = document;

            MimeType = "text/xml";
            Formatting = Formatting.Indented;
        }