internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, ResourceCollectionInfo collection)
        {
            Debug.Assert(collection != null);

            SyndicationFeedFormatter.CloseBuffer(buffer, writer);
            collection.LoadElementExtensions(buffer);
        }
 protected static void LoadElementExtensions(XmlReader reader, ResourceCollectionInfo collection, int maxExtensionSize)
 {
     if (collection == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("collection");
     }
     collection.LoadElementExtensions(reader, maxExtensionSize);
 }
Exemple #3
0
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, ResourceCollectionInfo collection)
 {
     if (collection == null)
     {
         throw new ArgumentNullException(nameof(collection));
     }
     Atom10FeedFormatter.CloseBuffer(buffer, writer);
     collection.LoadElementExtensions(buffer);
 }
Exemple #4
0
        protected static void LoadElementExtensions(XmlReader reader, ResourceCollectionInfo collection, int maxExtensionSize)
        {
            if (collection == null)
            {
                throw new ArgumentNullException(nameof(collection));
            }

            collection.LoadElementExtensions(XmlReaderWrapper.CreateFromReader(reader), maxExtensionSize);
        }
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, ResourceCollectionInfo collection)
 {
     if (collection == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("collection");
     }
     SyndicationFeedFormatter.CloseBuffer(buffer, writer);
     collection.LoadElementExtensions(buffer);
 }
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, ResourceCollectionInfo collection)
 {
     if (collection == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("collection");
     }
     Atom10FeedFormatter.CloseBuffer(buffer, writer);
     collection.LoadElementExtensions(buffer);
 }
 protected static void LoadElementExtensions(XmlReader reader, ResourceCollectionInfo collection, int maxExtensionSize)
 {
     if (collection == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("collection");
     }
     collection.LoadElementExtensions(reader, maxExtensionSize);
 }