23 references to Links
System.Data.Services (5)
System\Data\Services\Serializers\SyndicationDeserializer.cs (2)
119
return item.Content != null || item.
Links
.Count > 0;
431
foreach (SyndicationLink link in item.
Links
)
System\Data\Services\Serializers\SyndicationSerializer.cs (3)
146
item.
Links
.Add(link);
347
item.
Links
.Add(link);
1079
item.
Links
.Add(link);
System.ServiceModel (18)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (3)
359
result.
Links
.Add(ReadLinkFrom(reader, result));
1288
for (int i = 0; i < item.
Links
.Count; ++i)
1290
WriteLink(dictWriter, item.
Links
[i], item.BaseUri);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (13)
622
result.
Links
.Add(ReadAlternateLink(reader, result.BaseUri));
639
result.
Links
.Add(ReadMediaEnclosure(reader, result.BaseUri));
737
result.
Links
.Add(SyndicationLink.CreateAlternateLink(new Uri(fallbackAlternateLink, UriKind.RelativeOrAbsolute)));
1232
for (int i = 0; i < item.
Links
.Count; ++i)
1234
if (item.
Links
[i].RelationshipType == Atom10Constants.AlternateTag)
1238
firstAlternateLink = item.
Links
[i];
1240
if (guid == FeedUtils.GetUriString(item.
Links
[i].Uri))
1346
for (int i = 0; i < item.
Links
.Count; ++i)
1348
if (item.
Links
[i].RelationshipType == Rss20Constants.EnclosureTag)
1352
firstEnclosureLink = item.
Links
[i];
1353
WriteMediaEnclosure(writer, item.
Links
[i], item.BaseUri);
1357
else if (item.
Links
[i].RelationshipType == Atom10Constants.AlternateTag)
1367
this.atomSerializer.WriteLink(writer, item.
Links
[i], item.BaseUri);
System\ServiceModel\Syndication\SyndicationItem.cs (2)
60
this.
Links
.Add(SyndicationLink.CreateAlternateLink(itemAlternateLink));
241
this.
Links
.Add(SyndicationLink.CreateAlternateLink(permalink));