4 instantiations of SyndicationFeed
System.ServiceModel.Syndication (4)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (1)
349
result.SourceFeed = ReadFeedFrom(reader, new
SyndicationFeed
(), true); // isSourceFeed
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
417
SyndicationFeed feed = new
SyndicationFeed
();
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
437
return new
SyndicationFeed
(this, cloneItems);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
504
return new
SyndicationFeed
();
57 references to SyndicationFeed
System.ServiceModel (1)
netstandard.cs (1)
260
[assembly: TypeForwardedTo(typeof(
SyndicationFeed
))]
System.ServiceModel.Syndication (55)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (16)
34
public Atom10FeedFormatter() : this(typeof(
SyndicationFeed
))
45
if (!typeof(
SyndicationFeed
).IsAssignableFrom(feedTypeToCreate))
47
throw new ArgumentException(SR.Format(SR.InvalidObjectTypePassed, nameof(feedTypeToCreate), nameof(
SyndicationFeed
)), nameof(feedTypeToCreate));
54
public Atom10FeedFormatter(
SyndicationFeed
feedToWrite) : base(feedToWrite)
237
internal bool TryParseFeedElementFrom(XmlReader reader,
SyndicationFeed
result)
492
protected override
SyndicationFeed
CreateFeedInstance() => CreateFeedInstance(FeedType);
494
protected virtual SyndicationItem ReadItem(XmlReader reader,
SyndicationFeed
feed)
510
protected virtual IEnumerable<SyndicationItem> ReadItems(XmlReader reader,
SyndicationFeed
feed, out bool areAllItemsRead)
622
private SyndicationCategory ReadCategoryFrom(XmlReader reader,
SyndicationFeed
feed)
702
private
SyndicationFeed
ReadFeedFrom(XmlReader reader,
SyndicationFeed
result, bool isSourceFeed)
992
private SyndicationLink ReadLinkFrom(XmlReader reader,
SyndicationFeed
feed)
1006
private SyndicationPerson ReadPersonFrom(XmlReader reader,
SyndicationFeed
feed)
1112
private void WriteFeedTo(XmlWriter writer,
SyndicationFeed
feed, bool isSourceFeed)
1223
public class Atom10FeedFormatter<TSyndicationFeed> : Atom10FeedFormatter where TSyndicationFeed :
SyndicationFeed
, new()
1233
protected override
SyndicationFeed
CreateFeedInstance() => new TSyndicationFeed();
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (15)
27
public Rss20FeedFormatter() : this(typeof(
SyndicationFeed
))
38
if (!typeof(
SyndicationFeed
).IsAssignableFrom(feedTypeToCreate))
40
throw new ArgumentException(SR.Format(SR.InvalidObjectTypePassed, nameof(feedTypeToCreate), nameof(
SyndicationFeed
)), nameof(feedTypeToCreate));
49
public Rss20FeedFormatter(
SyndicationFeed
feedToWrite) : this(feedToWrite, true)
53
public Rss20FeedFormatter(
SyndicationFeed
feedToWrite, bool serializeExtensionsAsAtom) : base(feedToWrite)
128
protected internal override void SetFeed(
SyndicationFeed
feed)
144
protected override
SyndicationFeed
CreateFeedInstance() => CreateFeedInstance(FeedType);
146
protected virtual SyndicationItem ReadItem(XmlReader reader,
SyndicationFeed
feed)
162
protected virtual IEnumerable<SyndicationItem> ReadItems(XmlReader reader,
SyndicationFeed
feed, out bool areAllItemsRead)
252
private SyndicationCategory ReadCategory(XmlReader reader,
SyndicationFeed
feed)
417
SyndicationFeed
feed = new SyndicationFeed();
552
private SyndicationPerson ReadPerson(XmlReader reader,
SyndicationFeed
feed)
598
private void ReadXml(XmlReader reader,
SyndicationFeed
result)
1200
public class Rss20FeedFormatter<TSyndicationFeed> : Rss20FeedFormatter where TSyndicationFeed :
SyndicationFeed
, new()
1214
protected override
SyndicationFeed
CreateFeedInstance() => new TSyndicationFeed();
System\ServiceModel\Syndication\SyndicationFeed.cs (5)
70
protected SyndicationFeed(
SyndicationFeed
source, bool cloneItems)
410
public static
SyndicationFeed
Load(XmlReader reader) => Load<
SyndicationFeed
>(reader);
412
public static TSyndicationFeed Load<TSyndicationFeed>(XmlReader reader) where TSyndicationFeed :
SyndicationFeed
, new()
435
public virtual
SyndicationFeed
Clone(bool cloneItems)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (18)
17
private
SyndicationFeed
_feed;
25
protected SyndicationFeedFormatter(
SyndicationFeed
feedToWrite)
36
public
SyndicationFeed
Feed => _feed;
61
protected internal static SyndicationCategory CreateCategory(
SyndicationFeed
feed)
81
protected internal static SyndicationItem CreateItem(
SyndicationFeed
feed)
91
protected internal static SyndicationLink CreateLink(
SyndicationFeed
feed)
111
protected internal static SyndicationPerson CreatePerson(
SyndicationFeed
feed)
131
protected internal static void LoadElementExtensions(XmlReader reader,
SyndicationFeed
feed, int maxExtensionSize)
181
protected internal static bool TryParseAttribute(string name, string ns, string value,
SyndicationFeed
feed, string version)
256
protected internal static bool TryParseElement(XmlReader reader,
SyndicationFeed
feed, string version)
306
protected internal static void WriteAttributeExtensions(XmlWriter writer,
SyndicationFeed
feed, string version)
356
protected internal static void WriteElementExtensions(XmlWriter writer,
SyndicationFeed
feed, string version)
406
protected internal virtual void SetFeed(
SyndicationFeed
feed)
500
internal static
SyndicationFeed
CreateFeedInstance(Type feedType)
502
if (feedType.Equals(typeof(
SyndicationFeed
)))
508
return (
SyndicationFeed
)Activator.CreateInstance(feedType);
512
internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer,
SyndicationFeed
feed)
564
protected abstract
SyndicationFeed
CreateFeedInstance();
System\ServiceModel\Syndication\SyndicationItem.cs (1)
150
public
SyndicationFeed
SourceFeed { get; set; }
System.ServiceModel.Web (1)
System.ServiceModel.Web.cs (1)
30
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ServiceModel.Syndication.
SyndicationFeed
))]