18 references to Links
System.ServiceModel.Syndication (18)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (3)
325
result.
Links
.Add(ReadLinkFrom(reader, result));
1188
for (int i = 0; i < item.
Links
.Count; ++i)
1190
WriteLink(dictWriter, item.
Links
[i], item.BaseUri);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (13)
358
result.
Links
.Add(ReadAlternateLink(reader, result.BaseUri, UriParser, PreserveAttributeExtensions));
375
result.
Links
.Add(ReadMediaEnclosure(reader, result.BaseUri));
477
result.
Links
.Add(SyndicationLink.CreateAlternateLink(UriFromString(fallbackAlternateLink, UriKind.RelativeOrAbsolute, fallbackAlternateLinkLocalName, fallbackAlternateLinkNamespace, reader)));
1007
for (int i = 0; i < item.
Links
.Count; ++i)
1009
if (item.
Links
[i].RelationshipType == Atom10Constants.AlternateTag)
1011
firstAlternateLink ??= item.
Links
[i];
1012
if (guid == FeedUtils.GetUriString(item.
Links
[i].Uri))
1109
for (int i = 0; i < item.
Links
.Count; ++i)
1111
if (item.
Links
[i].RelationshipType == Rss20Constants.EnclosureTag)
1115
firstEnclosureLink = item.
Links
[i];
1116
WriteMediaEnclosure(writer, item.
Links
[i], item.BaseUri);
1120
else if (item.
Links
[i].RelationshipType == Atom10Constants.AlternateTag)
1130
Atom10FeedFormatter.WriteLink(writer, item.
Links
[i], item.BaseUri);
System\ServiceModel\Syndication\SyndicationItem.cs (2)
45
Links
.Add(SyndicationLink.CreateAlternateLink(itemAlternateLink));
190
Links
.Add(SyndicationLink.CreateAlternateLink(permalink));