Ejemplo n.º 1
0
        // PUBLIC METHODS ///////////////////////////////////////////////////
        #region DomDocument Extensions
        public static IDocumentPathContext GetDocumentPathContext(this DomDocument domDocument)
        {
            Contract.Requires(domDocument != null);

            var documentPathContext = domDocument.GetSingleAttribute <IDocumentPathContext>(DocumentPathContextNodeAttributeName);

            return(documentPathContext);
        }