9 instantiations of SyndicationLink
System.ServiceModel.Syndication (9)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (2)
223
var link = new
SyndicationLink
501
var link = new
SyndicationLink
System\ServiceModel\Syndication\SyndicationFeed.cs (2)
386
textInput.Link = new
SyndicationLink
(new Uri(value, UriKind.RelativeOrAbsolute));
471
return new
SyndicationLink
();
System\ServiceModel\Syndication\SyndicationItem.cs (1)
221
return new
SyndicationLink
();
System\ServiceModel\Syndication\SyndicationLink.cs (4)
89
return new
SyndicationLink
(uri, Atom10Constants.AlternateTag, null, mediaType, 0);
94
return new
SyndicationLink
(uri, Rss20Constants.EnclosureTag, null, mediaType, length);
104
return new
SyndicationLink
(uri, Atom10Constants.SelfTag, null, mediaType, 0);
107
public virtual SyndicationLink Clone() => new
SyndicationLink
(this);
61 references to SyndicationLink
System.ServiceModel (1)
netstandard.cs (1)
264
[assembly: TypeForwardedTo(typeof(
SyndicationLink
))]
System.ServiceModel.Syndication (59)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (6)
459
internal static void WriteLink(XmlWriter writer,
SyndicationLink
link, Uri baseUri)
903
private void ReadLink(XmlReader reader,
SyndicationLink
link, Uri baseUri)
992
private
SyndicationLink
ReadLinkFrom(XmlReader reader, SyndicationFeed feed)
994
SyndicationLink
result = CreateLink(feed);
999
private
SyndicationLink
ReadLinkFrom(XmlReader reader, SyndicationItem item)
1001
SyndicationLink
result = CreateLink(item);
System\ServiceModel\Syndication\FeedUtils.cs (4)
36
internal static Collection<
SyndicationLink
> CloneLinks(Collection<
SyndicationLink
> links)
42
Collection<
SyndicationLink
> result = new NullNotAllowedCollection<
SyndicationLink
>();
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (12)
221
internal static
SyndicationLink
ReadAlternateLink(XmlReader reader, Uri baseUri, TryParseUriCallback uriParser, bool preserveAttributeExtensions)
223
var
link = new SyndicationLink
431
feed.Links.Add(
SyndicationLink
.CreateSelfLink(UriFromString(val, UriKind.RelativeOrAbsolute, Rss20Constants.UrlTag, Rss20Constants.Rss20Namespace, reader)));
477
result.Links.Add(
SyndicationLink
.CreateAlternateLink(UriFromString(fallbackAlternateLink, UriKind.RelativeOrAbsolute, fallbackAlternateLinkLocalName, fallbackAlternateLinkNamespace, reader)));
499
private
SyndicationLink
ReadMediaEnclosure(XmlReader reader, Uri baseUri)
501
var
link = new SyndicationLink
804
private static void WriteAlternateLink(XmlWriter writer,
SyndicationLink
link, Uri baseUri)
854
SyndicationLink
alternateLink = null;
1006
SyndicationLink
firstAlternateLink = null;
1083
SyndicationLink
selfLink = null;
1107
SyndicationLink
firstEnclosureLink = null;
1166
private static void WriteMediaEnclosure(XmlWriter writer,
SyndicationLink
link, Uri baseUri)
System\ServiceModel\Syndication\SyndicationFeed.cs (9)
26
private Collection<
SyndicationLink
> _links;
63
Links.Add(
SyndicationLink
.CreateAlternateLink(feedAlternateLink));
171
public Collection<
SyndicationLink
> Links
173
get => _links ??= new NullNotAllowedCollection<
SyndicationLink
>();
178
internal
SyndicationLink
InternalDocumentation { get; private set; }
180
public
SyndicationLink
Documentation
244
private
SyndicationLink
TryReadDocumentationFromExtension(SyndicationElementExtensionCollection elementExtensions)
254
SyndicationLink
documentation = Rss20FeedFormatter.ReadAlternateLink(reader, BaseUri, SyndicationFeedFormatter.DefaultUriParser, preserveAttributeExtensions: true);
469
protected internal virtual
SyndicationLink
CreateLink()
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (8)
91
protected internal static
SyndicationLink
CreateLink(SyndicationFeed feed)
101
protected internal static
SyndicationLink
CreateLink(SyndicationItem item)
161
protected internal static void LoadElementExtensions(XmlReader reader,
SyndicationLink
link, int maxExtensionSize)
223
protected internal static bool TryParseAttribute(string name, string ns, string value,
SyndicationLink
link, string version)
286
protected internal static bool TryParseElement(XmlReader reader,
SyndicationLink
link, string version)
336
protected internal static void WriteAttributeExtensions(XmlWriter writer,
SyndicationLink
link, string version)
386
protected internal static void WriteElementExtensions(XmlWriter writer,
SyndicationLink
link, string version)
539
internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer,
SyndicationLink
link)
System\ServiceModel\Syndication\SyndicationItem.cs (6)
19
private Collection<
SyndicationLink
> _links;
45
Links.Add(
SyndicationLink
.CreateAlternateLink(itemAlternateLink));
125
public Collection<
SyndicationLink
> Links
127
get => _links ??= new NullNotAllowedCollection<
SyndicationLink
>();
190
Links.Add(
SyndicationLink
.CreateAlternateLink(permalink));
219
protected internal virtual
SyndicationLink
CreateLink()
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (6)
65
protected static
SyndicationLink
CreateLink(SyndicationItem item) => SyndicationFeedFormatter.CreateLink(item);
79
protected static void LoadElementExtensions(XmlReader reader,
SyndicationLink
link, int maxExtensionSize)
99
protected static bool TryParseAttribute(string name, string ns, string value,
SyndicationLink
link, string version)
124
protected static bool TryParseElement(XmlReader reader,
SyndicationLink
link, string version)
144
protected static void WriteAttributeExtensions(XmlWriter writer,
SyndicationLink
link, string version)
166
protected void WriteElementExtensions(XmlWriter writer,
SyndicationLink
link, string version)
System\ServiceModel\Syndication\SyndicationLink.cs (7)
38
protected SyndicationLink(
SyndicationLink
source)
82
public static
SyndicationLink
CreateAlternateLink(Uri uri)
87
public static
SyndicationLink
CreateAlternateLink(Uri uri, string mediaType)
92
public static
SyndicationLink
CreateMediaEnclosureLink(Uri uri, string mediaType, long length)
97
public static
SyndicationLink
CreateSelfLink(Uri uri)
102
public static
SyndicationLink
CreateSelfLink(Uri uri, string mediaType)
107
public virtual
SyndicationLink
Clone() => new SyndicationLink(this);
System\ServiceModel\Syndication\SyndicationTextInput.cs (1)
10
public
SyndicationLink
Link { get; set; }
System.ServiceModel.Web (1)
System.ServiceModel.Web.cs (1)
34
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ServiceModel.Syndication.
SyndicationLink
))]