4 instantiations of SyndicationCategory
System.ServiceModel.Syndication (4)
System\ServiceModel\Syndication\InlineCategoriesDocument.cs (1)
47protected internal virtual SyndicationCategory CreateCategory() => new SyndicationCategory();
System\ServiceModel\Syndication\SyndicationCategory.cs (1)
49public virtual SyndicationCategory Clone() => new SyndicationCategory(this);
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
457return new SyndicationCategory();
System\ServiceModel\Syndication\SyndicationItem.cs (1)
208return new SyndicationCategory();
56 references to SyndicationCategory
System.ServiceModel (1)
netstandard.cs (1)
256[assembly: TypeForwardedTo(typeof(SyndicationCategory))]
System.ServiceModel.Syndication (54)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (8)
114internal static void ReadCategory(XmlReader reader, SyndicationCategory category, string version, bool preserveAttributeExtensions, bool preserveElementExtensions, int maxExtensionSize) 197internal static void WriteCategory(XmlWriter writer, SyndicationCategory category, string version) 587private void ReadCategory(XmlReader reader, SyndicationCategory category) 592private SyndicationCategory ReadCategoryFrom(XmlReader reader, SyndicationFeed feed) 594SyndicationCategory result = CreateCategory(feed); 599private SyndicationCategory ReadCategoryFrom(XmlReader reader, SyndicationItem item) 601SyndicationCategory result = CreateCategory(item); 1064private void WriteCategoriesTo(XmlWriter writer, Collection<SyndicationCategory> categories)
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (1)
205SyndicationCategory category = CreateCategory(inlineCategories);
System\ServiceModel\Syndication\CategoriesDocument.cs (2)
30public static InlineCategoriesDocument Create(Collection<SyndicationCategory> categories) 35public static InlineCategoriesDocument Create(Collection<SyndicationCategory> categories, bool isFixed, string scheme)
System\ServiceModel\Syndication\FeedUtils.cs (4)
22internal static Collection<SyndicationCategory> CloneCategories(Collection<SyndicationCategory> categories) 28Collection<SyndicationCategory> result = new NullNotAllowedCollection<SyndicationCategory>();
System\ServiceModel\Syndication\InlineCategoriesDocument.cs (8)
11private Collection<SyndicationCategory> _categories; 17public InlineCategoriesDocument(IEnumerable<SyndicationCategory> categories) : this(categories, false, null) 21public InlineCategoriesDocument(IEnumerable<SyndicationCategory> categories, bool isFixed, string scheme) 25_categories = new NullNotAllowedCollection<SyndicationCategory>(); 26foreach (SyndicationCategory category in categories) 36public Collection<SyndicationCategory> Categories 38get => _categories ??= new NullNotAllowedCollection<SyndicationCategory>(); 47protected internal virtual SyndicationCategory CreateCategory() => new SyndicationCategory();
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (6)
222private SyndicationCategory ReadCategory(XmlReader reader, SyndicationFeed feed) 224SyndicationCategory result = CreateCategory(feed); 229private SyndicationCategory ReadCategory(XmlReader reader, SyndicationItem item) 231SyndicationCategory result = CreateCategory(item); 236private void ReadCategory(XmlReader reader, SyndicationCategory category) 787private void WriteCategory(XmlWriter writer, SyndicationCategory category)
System\ServiceModel\Syndication\ServiceDocumentFormatter.cs (1)
66protected static SyndicationCategory CreateCategory(InlineCategoriesDocument inlineCategories)
System\ServiceModel\Syndication\SyndicationCategory.cs (2)
29protected SyndicationCategory(SyndicationCategory source) 49public virtual SyndicationCategory Clone() => new SyndicationCategory(this);
System\ServiceModel\Syndication\SyndicationFeed.cs (4)
23private Collection<SyndicationCategory> _categories; 120public Collection<SyndicationCategory> Categories 122get => _categories ??= new NullNotAllowedCollection<SyndicationCategory>(); 455protected internal virtual SyndicationCategory CreateCategory()
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (8)
62protected internal static SyndicationCategory CreateCategory(SyndicationFeed feed) 69protected internal static SyndicationCategory CreateCategory(SyndicationItem item) 125protected internal static void LoadElementExtensions(XmlReader reader, SyndicationCategory category, int maxExtensionSize) 168protected internal static bool TryParseAttribute(string name, string ns, string value, SyndicationCategory category, string version) 220protected internal static bool TryParseElement(XmlReader reader, SyndicationCategory category, string version) 255protected internal static void WriteAttributeExtensions(XmlWriter writer, SyndicationCategory category, string version) 290protected internal static void WriteElementExtensions(XmlWriter writer, SyndicationCategory category, string version) 430internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationCategory category)
System\ServiceModel\Syndication\SyndicationItem.cs (4)
16private Collection<SyndicationCategory> _categories; 85public Collection<SyndicationCategory> Categories 87get => _categories ??= new NullNotAllowedCollection<SyndicationCategory>(); 206protected internal virtual SyndicationCategory CreateCategory()
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (6)
58protected static SyndicationCategory CreateCategory(SyndicationItem item) => SyndicationFeedFormatter.CreateCategory(item); 69protected static void LoadElementExtensions(XmlReader reader, SyndicationCategory category, int maxExtensionSize) 89protected static bool TryParseAttribute(string name, string ns, string value, SyndicationCategory category, string version) 114protected static bool TryParseElement(XmlReader reader, SyndicationCategory category, string version) 134protected static void WriteAttributeExtensions(XmlWriter writer, SyndicationCategory category, string version) 156protected void WriteElementExtensions(XmlWriter writer, SyndicationCategory category, string version)
System.ServiceModel.Web (1)
System.ServiceModel.Web.cs (1)
26[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationCategory))]