70 references to Rss20Namespace
System.ServiceModel.Syndication (70)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (60)
14
[XmlRoot(ElementName = Rss20Constants.RssTag, Namespace = Rss20Constants.
Rss20Namespace
)]
81
return reader.IsStartElement(Rss20Constants.RssTag, Rss20Constants.
Rss20Namespace
);
123
writer.WriteStartElement(Rss20Constants.RssTag, Rss20Constants.
Rss20Namespace
);
174
while (reader.IsStartElement(Rss20Constants.ItemTag, Rss20Constants.
Rss20Namespace
))
184
writer.WriteStartElement(Rss20Constants.ItemTag, Rss20Constants.
Rss20Namespace
);
247
Uri uri = UriFromString(uriParser, uriString, UriKind.RelativeOrAbsolute, Rss20Constants.LinkTag, Rss20Constants.
Rss20Namespace
, reader);
280
if (name == Rss20Constants.DomainTag && ns == Rss20Constants.
Rss20Namespace
)
293
reader.ReadStartElement(Rss20Constants.CategoryTag, Rss20Constants.
Rss20Namespace
);
352
if (reader.IsStartElement(Rss20Constants.TitleTag, Rss20Constants.
Rss20Namespace
))
356
else if (reader.IsStartElement(Rss20Constants.LinkTag, Rss20Constants.
Rss20Namespace
))
361
else if (reader.IsStartElement(Rss20Constants.DescriptionTag, Rss20Constants.
Rss20Namespace
))
365
else if (reader.IsStartElement(Rss20Constants.AuthorTag, Rss20Constants.
Rss20Namespace
))
369
else if (reader.IsStartElement(Rss20Constants.CategoryTag, Rss20Constants.
Rss20Namespace
))
373
else if (reader.IsStartElement(Rss20Constants.EnclosureTag, Rss20Constants.
Rss20Namespace
))
377
else if (reader.IsStartElement(Rss20Constants.GuidTag, Rss20Constants.
Rss20Namespace
))
380
string permalinkString = reader.GetAttribute(Rss20Constants.IsPermaLinkTag, Rss20Constants.
Rss20Namespace
);
391
fallbackAlternateLinkNamespace = Rss20Constants.
Rss20Namespace
;
394
else if (reader.IsStartElement(Rss20Constants.PubDateTag, Rss20Constants.
Rss20Namespace
))
415
else if (reader.IsStartElement(Rss20Constants.SourceTag, Rss20Constants.
Rss20Namespace
))
429
if (name == Rss20Constants.UrlTag && ns == Rss20Constants.
Rss20Namespace
)
431
feed.Links.Add(SyndicationLink.CreateSelfLink(UriFromString(val, UriKind.RelativeOrAbsolute, Rss20Constants.UrlTag, Rss20Constants.
Rss20Namespace
, reader)));
523
if (name == Rss20Constants.UrlTag && ns == Rss20Constants.
Rss20Namespace
)
525
link.Uri = UriFromString(val, UriKind.RelativeOrAbsolute, Rss20Constants.EnclosureTag, Rss20Constants.
Rss20Namespace
, reader);
527
else if (name == Rss20Constants.TypeTag && ns == Rss20Constants.
Rss20Namespace
)
531
else if (name == Rss20Constants.LengthTag && ns == Rss20Constants.
Rss20Namespace
)
544
reader.ReadStartElement(Rss20Constants.EnclosureTag, Rss20Constants.
Rss20Namespace
);
608
string version = reader.GetAttribute(Rss20Constants.VersionTag, Rss20Constants.
Rss20Namespace
);
661
reader.ReadStartElement(Rss20Constants.ChannelTag, Rss20Constants.
Rss20Namespace
);
671
if (reader.IsStartElement(Rss20Constants.TitleTag, Rss20Constants.
Rss20Namespace
))
675
else if (reader.IsStartElement(Rss20Constants.LinkTag, Rss20Constants.
Rss20Namespace
))
679
else if (reader.IsStartElement(Rss20Constants.DescriptionTag, Rss20Constants.
Rss20Namespace
))
683
else if (reader.IsStartElement(Rss20Constants.LanguageTag, Rss20Constants.
Rss20Namespace
))
687
else if (reader.IsStartElement(Rss20Constants.CopyrightTag, Rss20Constants.
Rss20Namespace
))
691
else if (reader.IsStartElement(Rss20Constants.ManagingEditorTag, Rss20Constants.
Rss20Namespace
))
695
else if (reader.IsStartElement(Rss20Constants.LastBuildDateTag, Rss20Constants.
Rss20Namespace
))
716
else if (reader.IsStartElement(Rss20Constants.CategoryTag, Rss20Constants.
Rss20Namespace
))
720
else if (reader.IsStartElement(Rss20Constants.GeneratorTag, Rss20Constants.
Rss20Namespace
))
724
else if (reader.IsStartElement(Rss20Constants.ImageTag, Rss20Constants.
Rss20Namespace
))
729
if (reader.IsStartElement(Rss20Constants.UrlTag, Rss20Constants.
Rss20Namespace
))
731
result.ImageUrl = UriFromString(reader.ReadElementString(), UriKind.RelativeOrAbsolute, Rss20Constants.UrlTag, Rss20Constants.
Rss20Namespace
, reader);
741
else if (reader.IsStartElement(Rss20Constants.ItemTag, Rss20Constants.
Rss20Namespace
))
806
writer.WriteStartElement(Rss20Constants.LinkTag, Rss20Constants.
Rss20Namespace
);
823
writer.WriteStartElement(Rss20Constants.CategoryTag, Rss20Constants.
Rss20Namespace
);
827
writer.WriteAttributeString(Rss20Constants.DomainTag, Rss20Constants.
Rss20Namespace
, category.Scheme);
845
writer.WriteStartElement(Rss20Constants.ChannelTag, Rss20Constants.
Rss20Namespace
);
852
writer.WriteElementString(Rss20Constants.TitleTag, Rss20Constants.
Rss20Namespace
, title);
866
writer.WriteElementString(Rss20Constants.DescriptionTag, Rss20Constants.
Rss20Namespace
, description);
875
writer.WriteElementString(Rss20Constants.CopyrightTag, Rss20Constants.
Rss20Namespace
, Feed.Copyright.Text);
921
writer.WriteElementString(Rss20Constants.TitleTag, Rss20Constants.
Rss20Namespace
, title);
923
writer.WriteElementString(Rss20Constants.LinkTag, Rss20Constants.
Rss20Namespace
, imgAlternateLink);
1076
writer.WriteElementString(Rss20Constants.DescriptionTag, Rss20Constants.
Rss20Namespace
, summary.Text);
1081
writer.WriteStartElement(Rss20Constants.SourceTag, Rss20Constants.
Rss20Namespace
);
1094
writer.WriteAttributeString(Rss20Constants.UrlTag, Rss20Constants.
Rss20Namespace
, FeedUtils.GetUriString(selfLink.Uri));
1103
writer.WriteElementString(Rss20Constants.PubDateTag, Rss20Constants.
Rss20Namespace
, AsString(item.PublishDate));
1168
writer.WriteStartElement(Rss20Constants.EnclosureTag, Rss20Constants.
Rss20Namespace
);
1177
writer.WriteAttributeString(Rss20Constants.UrlTag, Rss20Constants.
Rss20Namespace
, FeedUtils.GetUriString(link.Uri));
1181
writer.WriteAttributeString(Rss20Constants.TypeTag, Rss20Constants.
Rss20Namespace
, link.MediaType);
1185
writer.WriteAttributeString(Rss20Constants.LengthTag, Rss20Constants.
Rss20Namespace
, link.Length.ToString(CultureInfo.InvariantCulture));
1192
writer.WriteStartElement(elementTag, Rss20Constants.
Rss20Namespace
);
1199
[XmlRoot(ElementName = Rss20Constants.RssTag, Namespace = Rss20Constants.
Rss20Namespace
)]
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (4)
11
[XmlRoot(ElementName = Rss20Constants.ItemTag, Namespace = Rss20Constants.
Rss20Namespace
)]
96
return reader.IsStartElement(Rss20Constants.ItemTag, Rss20Constants.
Rss20Namespace
);
138
writer.WriteStartElement(Rss20Constants.ItemTag, Rss20Constants.
Rss20Namespace
);
163
[XmlRoot(ElementName = Rss20Constants.ItemTag, Namespace = Rss20Constants.
Rss20Namespace
)]
System\ServiceModel\Syndication\SyndicationFeed.cs (6)
247
.FirstOrDefault(e => e.OuterName == Rss20Constants.DocumentationTag && e.OuterNamespace == Rss20Constants.
Rss20Namespace
);
262
.FirstOrDefault(e => e.OuterName == Rss20Constants.TimeToLiveTag && e.OuterNamespace == Rss20Constants.
Rss20Namespace
);
291
.FirstOrDefault(e => e.OuterName == Rss20Constants.SkipHoursTag && e.OuterNamespace == Rss20Constants.
Rss20Namespace
);
325
.FirstOrDefault(e => e.OuterName == Rss20Constants.SkipDaysTag && e.OuterNamespace == Rss20Constants.
Rss20Namespace
);
361
.FirstOrDefault(e => e.OuterName == Rss20Constants.TextInputTag && e.OuterNamespace == Rss20Constants.
Rss20Namespace
);
501
if (ns == Rss20Constants.
Rss20Namespace
)