4 instantiations of SyndicationCategory
System.ServiceModel.Syndication (4)
System\ServiceModel\Syndication\InlineCategoriesDocument.cs (1)
47
protected internal virtual SyndicationCategory CreateCategory() => new
SyndicationCategory
();
System\ServiceModel\Syndication\SyndicationCategory.cs (1)
52
public virtual SyndicationCategory Clone() => new
SyndicationCategory
(this);
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
461
return new
SyndicationCategory
();
System\ServiceModel\Syndication\SyndicationItem.cs (1)
216
return 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)
128
internal static void ReadCategory(XmlReader reader,
SyndicationCategory
category, string version, bool preserveAttributeExtensions, bool preserveElementExtensions, int maxExtensionSize)
211
internal static void WriteCategory(XmlWriter writer,
SyndicationCategory
category, string version)
617
private void ReadCategory(XmlReader reader,
SyndicationCategory
category)
622
private
SyndicationCategory
ReadCategoryFrom(XmlReader reader, SyndicationFeed feed)
624
SyndicationCategory
result = CreateCategory(feed);
629
private
SyndicationCategory
ReadCategoryFrom(XmlReader reader, SyndicationItem item)
631
SyndicationCategory
result = CreateCategory(item);
1094
private void WriteCategoriesTo(XmlWriter writer, Collection<
SyndicationCategory
> categories)
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (1)
222
SyndicationCategory
category = CreateCategory(inlineCategories);
System\ServiceModel\Syndication\CategoriesDocument.cs (2)
28
public static InlineCategoriesDocument Create(Collection<
SyndicationCategory
> categories)
33
public static InlineCategoriesDocument Create(Collection<
SyndicationCategory
> categories, bool isFixed, string scheme)
System\ServiceModel\Syndication\FeedUtils.cs (4)
22
internal static Collection<
SyndicationCategory
> CloneCategories(Collection<
SyndicationCategory
> categories)
28
Collection<
SyndicationCategory
> result = new NullNotAllowedCollection<
SyndicationCategory
>();
System\ServiceModel\Syndication\InlineCategoriesDocument.cs (8)
11
private Collection<
SyndicationCategory
> _categories;
17
public InlineCategoriesDocument(IEnumerable<
SyndicationCategory
> categories) : this(categories, false, null)
21
public InlineCategoriesDocument(IEnumerable<
SyndicationCategory
> categories, bool isFixed, string scheme)
25
_categories = new NullNotAllowedCollection<
SyndicationCategory
>();
26
foreach (
SyndicationCategory
category in categories)
36
public Collection<
SyndicationCategory
> Categories
38
get => _categories ??= new NullNotAllowedCollection<
SyndicationCategory
>();
47
protected internal virtual
SyndicationCategory
CreateCategory() => new SyndicationCategory();
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (6)
252
private
SyndicationCategory
ReadCategory(XmlReader reader, SyndicationFeed feed)
254
SyndicationCategory
result = CreateCategory(feed);
259
private
SyndicationCategory
ReadCategory(XmlReader reader, SyndicationItem item)
261
SyndicationCategory
result = CreateCategory(item);
266
private void ReadCategory(XmlReader reader,
SyndicationCategory
category)
817
private void WriteCategory(XmlWriter writer,
SyndicationCategory
category)
System\ServiceModel\Syndication\ServiceDocumentFormatter.cs (1)
72
protected static
SyndicationCategory
CreateCategory(InlineCategoriesDocument inlineCategories)
System\ServiceModel\Syndication\SyndicationCategory.cs (2)
29
protected SyndicationCategory(
SyndicationCategory
source)
52
public virtual
SyndicationCategory
Clone() => new SyndicationCategory(this);
System\ServiceModel\Syndication\SyndicationFeed.cs (4)
21
private Collection<
SyndicationCategory
> _categories;
121
public Collection<
SyndicationCategory
> Categories
123
get => _categories ??= new NullNotAllowedCollection<
SyndicationCategory
>();
459
protected internal virtual
SyndicationCategory
CreateCategory()
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (8)
61
protected internal static
SyndicationCategory
CreateCategory(SyndicationFeed feed)
71
protected internal static
SyndicationCategory
CreateCategory(SyndicationItem item)
151
protected internal static void LoadElementExtensions(XmlReader reader,
SyndicationCategory
category, int maxExtensionSize)
209
protected internal static bool TryParseAttribute(string name, string ns, string value,
SyndicationCategory
category, string version)
276
protected internal static bool TryParseElement(XmlReader reader,
SyndicationCategory
category, string version)
326
protected internal static void WriteAttributeExtensions(XmlWriter writer,
SyndicationCategory
category, string version)
376
protected internal static void WriteElementExtensions(XmlWriter writer,
SyndicationCategory
category, string version)
531
internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer,
SyndicationCategory
category)
System\ServiceModel\Syndication\SyndicationItem.cs (4)
15
private Collection<
SyndicationCategory
> _categories;
87
public Collection<
SyndicationCategory
> Categories
89
get => _categories ??= new NullNotAllowedCollection<
SyndicationCategory
>();
214
protected internal virtual
SyndicationCategory
CreateCategory()
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (6)
63
protected static
SyndicationCategory
CreateCategory(SyndicationItem item) => SyndicationFeedFormatter.CreateCategory(item);
74
protected static void LoadElementExtensions(XmlReader reader,
SyndicationCategory
category, int maxExtensionSize)
94
protected static bool TryParseAttribute(string name, string ns, string value,
SyndicationCategory
category, string version)
119
protected static bool TryParseElement(XmlReader reader,
SyndicationCategory
category, string version)
139
protected static void WriteAttributeExtensions(XmlWriter writer,
SyndicationCategory
category, string version)
161
protected 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
))]