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

            CloseBuffer(buffer, writer);
            category.LoadElementExtensions(buffer);
        }
 internal static protected void LoadElementExtensions(XmlReader reader, SyndicationCategory category, int maxExtensionSize)
 {
     if (category == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("category");
     }
     category.LoadElementExtensions(reader, maxExtensionSize);
 }
Пример #3
0
 internal static protected void LoadElementExtensions(XmlReader reader, SyndicationCategory category, int maxExtensionSize)
 {
     if (category == null)
     {
         throw new ArgumentNullException(nameof(category));
     }
     category.LoadElementExtensions(reader, maxExtensionSize);
 }
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationCategory category)
 {
     if (category == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("category");
     }
     CloseBuffer(buffer, writer);
     category.LoadElementExtensions(buffer);
 }
Пример #5
0
        internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationCategory category)
        {
            if (category == null)
            {
                throw new ArgumentNullException(nameof(category));
            }

            CloseBuffer(buffer, writer);
            category.LoadElementExtensions(buffer);
        }