BVNetwork.NotFound.Core.CustomRedirects.XmlActionResult.XmlActionResult C# (CSharp) Méthode

XmlActionResult() public méthode

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

            _document = document;

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