Example #1
0
 protected virtual void SetDocument(ServiceDocument document)
 {
     _document = document;
 }
Example #2
0
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, ServiceDocument document)
 {
     if (document == null)
     {
         throw new ArgumentNullException(nameof(document));
     }
     Atom10FeedFormatter.CloseBuffer(buffer, writer);
     document.LoadElementExtensions(buffer);
 }
Example #3
0
        protected static bool TryParseAttribute(string name, string ns, string value, ServiceDocument document, string version)
        {
            if (document == null)
            {
                throw new ArgumentNullException(nameof(document));
            }

            return(document.TryParseAttribute(name, ns, value, version));
        }