BVNetwork.NotFound.Core.CustomRedirects.XmlActionResult.XmlActionResult C# (CSharp) 메소드

XmlActionResult() 공개 메소드

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

            _document = document;

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