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

            CloseBuffer(buffer, writer);
            item.LoadElementExtensions(buffer);
        }
 internal static protected void LoadElementExtensions(XmlReader reader, SyndicationItem item, int maxExtensionSize)
 {
     if (item == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("item");
     }
     item.LoadElementExtensions(reader, maxExtensionSize);
 }
Exemplo n.º 3
0
 internal static protected void LoadElementExtensions(XmlReader reader, SyndicationItem item, int maxExtensionSize)
 {
     if (item == null)
     {
         throw new ArgumentNullException(nameof(item));
     }
     item.LoadElementExtensions(reader, maxExtensionSize);
 }
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationItem item)
 {
     if (item == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("item");
     }
     CloseBuffer(buffer, writer);
     item.LoadElementExtensions(buffer);
 }
Exemplo n.º 5
0
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException(nameof(item));
     }
     CloseBuffer(buffer, writer);
     item.LoadElementExtensions(buffer);
 }