Beispiel #1
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);
 }
Beispiel #2
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);
 }
Beispiel #3
0
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, Workspace workspace)
 {
     if (workspace == null)
     {
         throw new ArgumentNullException(nameof(workspace));
     }
     Atom10FeedFormatter.CloseBuffer(buffer, writer);
     workspace.LoadElementExtensions(buffer);
 }
Beispiel #4
0
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, CategoriesDocument categories)
 {
     if (categories == null)
     {
         throw new ArgumentNullException(nameof(categories));
     }
     Atom10FeedFormatter.CloseBuffer(buffer, writer);
     categories.LoadElementExtensions(buffer);
 }