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