144 references to Rss20Constants
System.ServiceModel (144)
System\ServiceModel\Syndication\ExtensibleSyndicationObject.cs (1)
72writer.WriteStartElement(Rss20Constants.ExtensionWrapperTag);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (129)
22[XmlRoot(ElementName = Rss20Constants.RssTag, Namespace = Rss20Constants.Rss20Namespace)] 25static readonly XmlQualifiedName Rss20Domain = new XmlQualifiedName(Rss20Constants.DomainTag, string.Empty); 26static readonly XmlQualifiedName Rss20Length = new XmlQualifiedName(Rss20Constants.LengthTag, string.Empty); 27static readonly XmlQualifiedName Rss20Type = new XmlQualifiedName(Rss20Constants.TypeTag, string.Empty); 28static readonly XmlQualifiedName Rss20Url = new XmlQualifiedName(Rss20Constants.UrlTag, string.Empty); 118return reader.IsStartElement(Rss20Constants.RssTag, Rss20Constants.Rss20Namespace); 169writer.WriteStartElement(Rss20Constants.RssTag, Rss20Constants.Rss20Namespace); 233while (reader.IsStartElement(Rss20Constants.ItemTag, Rss20Constants.Rss20Namespace)) 244writer.WriteStartElement(Rss20Constants.ItemTag, Rss20Constants.Rss20Namespace); 538if (name == Rss20Constants.DomainTag && ns == Rss20Constants.Rss20Namespace) 555reader.ReadStartElement(Rss20Constants.CategoryTag, Rss20Constants.Rss20Namespace); 616if (reader.IsStartElement(Rss20Constants.TitleTag, Rss20Constants.Rss20Namespace)) 620else if (reader.IsStartElement(Rss20Constants.LinkTag, Rss20Constants.Rss20Namespace)) 625else if (reader.IsStartElement(Rss20Constants.DescriptionTag, Rss20Constants.Rss20Namespace)) 629else if (reader.IsStartElement(Rss20Constants.AuthorTag, Rss20Constants.Rss20Namespace)) 633else if (reader.IsStartElement(Rss20Constants.CategoryTag, Rss20Constants.Rss20Namespace)) 637else if (reader.IsStartElement(Rss20Constants.EnclosureTag, Rss20Constants.Rss20Namespace)) 641else if (reader.IsStartElement(Rss20Constants.GuidTag, Rss20Constants.Rss20Namespace)) 644string permalinkString = reader.GetAttribute(Rss20Constants.IsPermaLinkTag, Rss20Constants.Rss20Namespace); 655else if (reader.IsStartElement(Rss20Constants.PubDateTag, Rss20Constants.Rss20Namespace)) 669else if (reader.IsStartElement(Rss20Constants.SourceTag, Rss20Constants.Rss20Namespace)) 683if (name == Rss20Constants.UrlTag && ns == Rss20Constants.Rss20Namespace) 763link.RelationshipType = Rss20Constants.EnclosureTag; 781if (name == Rss20Constants.UrlTag && ns == Rss20Constants.Rss20Namespace) 785else if (name == Rss20Constants.TypeTag && ns == Rss20Constants.Rss20Namespace) 789else if (name == Rss20Constants.LengthTag && ns == Rss20Constants.Rss20Namespace) 806reader.ReadStartElement(Rss20Constants.EnclosureTag, Rss20Constants.Rss20Namespace); 870string version = reader.GetAttribute(Rss20Constants.VersionTag, Rss20Constants.Rss20Namespace); 871if (version != Rss20Constants.Version) 920reader.ReadStartElement(Rss20Constants.ChannelTag, Rss20Constants.Rss20Namespace); 928if (reader.IsStartElement(Rss20Constants.TitleTag, Rss20Constants.Rss20Namespace)) 932else if (reader.IsStartElement(Rss20Constants.LinkTag, Rss20Constants.Rss20Namespace)) 936else if (reader.IsStartElement(Rss20Constants.DescriptionTag, Rss20Constants.Rss20Namespace)) 940else if (reader.IsStartElement(Rss20Constants.LanguageTag, Rss20Constants.Rss20Namespace)) 944else if (reader.IsStartElement(Rss20Constants.CopyrightTag, Rss20Constants.Rss20Namespace)) 948else if (reader.IsStartElement(Rss20Constants.ManagingEditorTag, Rss20Constants.Rss20Namespace)) 952else if (reader.IsStartElement(Rss20Constants.LastBuildDateTag, Rss20Constants.Rss20Namespace)) 966else if (reader.IsStartElement(Rss20Constants.CategoryTag, Rss20Constants.Rss20Namespace)) 970else if (reader.IsStartElement(Rss20Constants.GeneratorTag, Rss20Constants.Rss20Namespace)) 974else if (reader.IsStartElement(Rss20Constants.ImageTag, Rss20Constants.Rss20Namespace)) 979if (reader.IsStartElement(Rss20Constants.UrlTag, Rss20Constants.Rss20Namespace)) 992else if (reader.IsStartElement(Rss20Constants.ItemTag, Rss20Constants.Rss20Namespace)) 1054writer.WriteStartElement(Rss20Constants.LinkTag, Rss20Constants.Rss20Namespace); 1071writer.WriteStartElement(Rss20Constants.CategoryTag, Rss20Constants.Rss20Namespace); 1075writer.WriteAttributeString(Rss20Constants.DomainTag, Rss20Constants.Rss20Namespace, category.Scheme); 1091writer.WriteAttributeString(Rss20Constants.VersionTag, Rss20Constants.Version); 1092writer.WriteStartElement(Rss20Constants.ChannelTag, Rss20Constants.Rss20Namespace); 1099writer.WriteElementString(Rss20Constants.TitleTag, Rss20Constants.Rss20Namespace, title); 1113writer.WriteElementString(Rss20Constants.DescriptionTag, Rss20Constants.Rss20Namespace, description); 1117writer.WriteElementString(Rss20Constants.LanguageTag, this.Feed.Language); 1122writer.WriteElementString(Rss20Constants.CopyrightTag, Rss20Constants.Rss20Namespace, this.Feed.Copyright.Text); 1131WritePerson(writer, Rss20Constants.ManagingEditorTag, this.Feed.Authors[0]); 1147writer.WriteStartElement(Rss20Constants.LastBuildDateTag); 1161writer.WriteElementString(Rss20Constants.GeneratorTag, this.Feed.Generator); 1180writer.WriteStartElement(Rss20Constants.ImageTag); 1181writer.WriteElementString(Rss20Constants.UrlTag, FeedUtils.GetUriString(this.Feed.ImageUrl)); 1182writer.WriteElementString(Rss20Constants.TitleTag, Rss20Constants.Rss20Namespace, title); 1184writer.WriteElementString(Rss20Constants.LinkTag, Rss20Constants.Rss20Namespace, imgAlternateLink); 1249writer.WriteStartElement(Rss20Constants.GuidTag); 1252writer.WriteAttributeString(Rss20Constants.IsPermaLinkTag, "true"); 1256writer.WriteAttributeString(Rss20Constants.IsPermaLinkTag, "false"); 1270WritePerson(writer, Rss20Constants.AuthorTag, item.Authors[0]); 1294writer.WriteElementString(Rss20Constants.TitleTag, item.Title.Text); 1312writer.WriteElementString(Rss20Constants.DescriptionTag, Rss20Constants.Rss20Namespace, summary.Text); 1317writer.WriteStartElement(Rss20Constants.SourceTag, Rss20Constants.Rss20Namespace); 1330writer.WriteAttributeString(Rss20Constants.UrlTag, Rss20Constants.Rss20Namespace, FeedUtils.GetUriString(selfLink.Uri)); 1339writer.WriteElementString(Rss20Constants.PubDateTag, Rss20Constants.Rss20Namespace, AsString(item.PublishDate)); 1348if (item.Links[i].RelationshipType == Rss20Constants.EnclosureTag) 1431writer.WriteStartElement(Rss20Constants.EnclosureTag, Rss20Constants.Rss20Namespace); 1440writer.WriteAttributeString(Rss20Constants.UrlTag, Rss20Constants.Rss20Namespace, FeedUtils.GetUriString(link.Uri)); 1444writer.WriteAttributeString(Rss20Constants.TypeTag, Rss20Constants.Rss20Namespace, link.MediaType); 1448writer.WriteAttributeString(Rss20Constants.LengthTag, Rss20Constants.Rss20Namespace, Convert.ToString(link.Length, CultureInfo.InvariantCulture)); 1455writer.WriteStartElement(elementTag, Rss20Constants.Rss20Namespace); 1463[XmlRoot(ElementName = Rss20Constants.RssTag, Namespace = Rss20Constants.Rss20Namespace)]
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (8)
19[XmlRoot(ElementName = Rss20Constants.ItemTag, Namespace = Rss20Constants.Rss20Namespace)] 117return reader.IsStartElement(Rss20Constants.ItemTag, Rss20Constants.Rss20Namespace); 168writer.WriteStartElement(Rss20Constants.ItemTag, Rss20Constants.Rss20Namespace); 197[XmlRoot(ElementName = Rss20Constants.ItemTag, Namespace = Rss20Constants.Rss20Namespace)]
System\ServiceModel\Syndication\SyndicationElementExtension.cs (3)
37writer.WriteStartElement(Rss20Constants.ExtensionWrapperTag); 169reader.ReadStartElement(Rss20Constants.ExtensionWrapperTag); 208writer.WriteStartElement(Rss20Constants.ExtensionWrapperTag);
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (1)
215writer.WriteStartElement(Rss20Constants.ExtensionWrapperTag);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
398extWriter.WriteStartElement(Rss20Constants.ExtensionWrapperTag);
System\ServiceModel\Syndication\SyndicationLink.cs (1)
130return new SyndicationLink(uri, Rss20Constants.EnclosureTag, null, mediaType, length);