50 references to Feed
System.Data.Services (2)
System\Data\Services\Serializers\SyndicationDeserializer.cs (2)
150Debug.Assert(formatter.Feed != null, "formatter.Feed != null"); 151return formatter.Feed;
System.ServiceModel (48)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (3)
779ReadFeedFrom(reader, this.Feed, false); 1205if (this.Feed == null) 1209WriteFeedTo(writer, this.Feed, false); // isSourceFeed
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (43)
77this.atomSerializer = new Atom10FeedFormatter(this.Feed); 178this.atomSerializer.SetFeed(this.Feed); 566ReadXml(reader, this.Feed); 1083if (this.Feed == null) 1093if (this.Feed.BaseUri != null) 1095writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(this.Feed.BaseUri)); 1097WriteAttributeExtensions(writer, this.Feed, this.Version); 1098string title = this.Feed.Title != null ? this.Feed.Title.Text : string.Empty; 1102for (int i = 0; i < this.Feed.Links.Count; ++i) 1104if (this.Feed.Links[i].RelationshipType == Atom10Constants.AlternateTag) 1106alternateLink = this.Feed.Links[i]; 1107WriteAlternateLink(writer, alternateLink, this.Feed.BaseUri); 1112string description = this.Feed.Description != null ? this.Feed.Description.Text : string.Empty; 1115if (this.Feed.Language != null) 1117writer.WriteElementString(Rss20Constants.LanguageTag, this.Feed.Language); 1120if (this.Feed.Copyright != null) 1122writer.WriteElementString(Rss20Constants.CopyrightTag, Rss20Constants.Rss20Namespace, this.Feed.Copyright.Text); 1128if ((this.Feed.Authors.Count == 1) && (this.Feed.Authors[0].Email != null)) 1131WritePerson(writer, Rss20Constants.ManagingEditorTag, this.Feed.Authors[0]); 1137this.atomSerializer.WriteFeedAuthorsTo(writer, this.Feed.Authors); 1145if (this.Feed.LastUpdatedTime > DateTimeOffset.MinValue) 1148writer.WriteString(AsString(this.Feed.LastUpdatedTime)); 1153for (int i = 0; i < this.Feed.Categories.Count; ++i) 1156WriteCategory(writer, this.Feed.Categories[i]); 1159if (!string.IsNullOrEmpty(this.Feed.Generator)) 1161writer.WriteElementString(Rss20Constants.GeneratorTag, this.Feed.Generator); 1165if (this.Feed.Contributors.Count > 0) 1170this.atomSerializer.WriteFeedContributorsTo(writer, this.Feed.Contributors); 1178if (this.Feed.ImageUrl != null) 1181writer.WriteElementString(Rss20Constants.UrlTag, FeedUtils.GetUriString(this.Feed.ImageUrl)); 1190this.atomSerializer.WriteElement(writer, Atom10Constants.IdTag, this.Feed.Id); 1194for (int i = 0; i < this.Feed.Links.Count; ++i) 1196if (this.Feed.Links[i].RelationshipType == Atom10Constants.AlternateTag && isFirstAlternateLink) 1201this.atomSerializer.WriteLink(writer, this.Feed.Links[i], this.Feed.BaseUri); 1206if (this.Feed.Id != null) 1210if (this.Feed.Links.Count > 1) 1216WriteElementExtensions(writer, this.Feed, this.Version); 1217WriteItems(writer, this.Feed.Items, this.Feed.BaseUri);
System\ServiceModel\Syndication\SyndicationFeed.cs (2)
272return atomSerializer.Feed as TSyndicationFeed; 278return rssSerializer.Feed as TSyndicationFeed;