Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
RssGuid.cs
1using System;
2using System.Xml;
4
5namespace Waher.Content.Rss
6{
10 public class RssGuid
11 {
16 public RssGuid(XmlElement Xml)
17 {
18 if (Xml is null)
19 throw new ArgumentNullException(nameof(Xml));
20
21 this.Id = Xml.InnerText;
22 this.IsPermaLink = XML.Attribute(Xml, "isPermaLink", true);
23 }
24
30 public bool IsPermaLink { get; }
31
35 public string Id { get; }
36 }
37}
Globally unique identifier
Definition: RssGuid.cs:11
bool IsPermaLink
If the guid element has an attribute named isPermaLink with a value of true, the reader may assume th...
Definition: RssGuid.cs:30
RssGuid(XmlElement Xml)
Globally unique identifier
Definition: RssGuid.cs:16
string Id
ID of Guid
Definition: RssGuid.cs:35
Helps with common XML-related tasks.
Definition: XML.cs:19
static string Attribute(XmlElement E, string Name)
Gets the value of an XML attribute.
Definition: XML.cs:914