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