コード例 #1
0
 protected static void LoadElementExtensions(XmlReader reader, ServiceDocument document, int maxExtensionSize)
 {
     if (document == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("document");
     }
     document.LoadElementExtensions(reader, maxExtensionSize);
 }
コード例 #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);
 }
コード例 #3
0
        protected static void LoadElementExtensions(XmlReader reader, ServiceDocument document, int maxExtensionSize)
        {
            if (document == null)
            {
                throw new ArgumentNullException(nameof(document));
            }

            document.LoadElementExtensions(XmlReaderWrapper.CreateFromReader(reader), maxExtensionSize);
        }
コード例 #4
0
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, ServiceDocument document)
 {
     if (document == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("document");
     }
     SyndicationFeedFormatter.CloseBuffer(buffer, writer);
     document.LoadElementExtensions(buffer);
 }
コード例 #5
0
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, ServiceDocument document)
 {
     if (document == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(document));
     }
     Atom10FeedFormatter.CloseBuffer(buffer, writer);
     document.LoadElementExtensions(buffer);
 }