示例#1
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);
 }
示例#2
0
 protected static ReferencedCategoriesDocument CreateReferencedCategories(ResourceCollectionInfo collection)
 {
     return(collection.CreateReferencedCategoriesDocument());
 }
示例#3
0
        protected static bool TryParseAttribute(string name, string ns, string value, ResourceCollectionInfo collection, string version)
        {
            if (collection == null)
            {
                throw new ArgumentNullException(nameof(collection));
            }

            return(collection.TryParseAttribute(name, ns, value, version));
        }
示例#4
0
 protected static InlineCategoriesDocument CreateInlineCategories(ResourceCollectionInfo collection)
 {
     return(collection.CreateInlineCategoriesDocument());
 }