Class TrackbackDiscoveryMetadata
Represents metadata about a web log entry that allows clients to auto-discover the TrackBack ping URL for that entry.
Inheritance
Implements
Inherited Members
Namespace: Argotic.Common
Assembly: Argotic.Common.dll
Syntax
[Serializable]
public class TrackbackDiscoveryMetadata : IComparable
Constructors
| Improve this Doc View SourceTrackbackDiscoveryMetadata()
Initializes a new instance of the TrackbackDiscoveryMetadata class.
Declaration
public TrackbackDiscoveryMetadata()
TrackbackDiscoveryMetadata(XPathNavigator)
Initializes a new instance of the TrackbackDiscoveryMetadata class using the supplied System.Xml.XPath.XPathNavigator.
Declaration
public TrackbackDiscoveryMetadata(XPathNavigator navigator)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XPath.XPathNavigator | navigator | The System.Xml.XPath.XPathNavigator to extract the Trackback auto-discovery meta-data from. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
Properties
| Improve this Doc View SourceAbout
Gets or sets the Resource Description Framework (RDF) entity reference.
Declaration
public Uri About { get; set; }
Property Value
Type | Description |
---|---|
System.Uri | A System.Uri that represents the Resource Description Framework (RDF) entity reference. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
Identifier
Gets or sets the unique identifier for the discoverable web log entry.
Declaration
public Uri Identifier { get; set; }
Property Value
Type | Description |
---|---|
System.Uri | A System.Uri that represents the unique identifier for the discoverable web log entry. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
PingUrl
Gets or sets the Trackback ping notification endpoint for the discoverable web log entry.
Declaration
public Uri PingUrl { get; set; }
Property Value
Type | Description |
---|---|
System.Uri | A System.Uri that represents the Trackback ping URL for the discoverable web log entry. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
Title
Gets or sets the title of the discoverable web log entry.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The title of the discoverable web log entry. |
Methods
| Improve this Doc View SourceCompareTo(Object)
Compares the current instance with another object of the same type.
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | An object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer that indicates the relative order of the objects being compared. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The |
Equals(Object)
Determines whether the specified System.Object is equal to the current instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with the current instance. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified System.Object is equal to the current instance; otherwise, false. |
Overrides
GetHashCode()
Returns a hash code for the current instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer hash code. |
Overrides
Load(XPathNavigator)
Loads this TrackbackDiscoveryMetadata using the supplied System.Xml.XPath.XPathNavigator.
Declaration
public bool Load(XPathNavigator navigator)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XPath.XPathNavigator | navigator | The System.Xml.XPath.XPathNavigator to extract the Trackback auto-discovery meta-data from. |
Returns
Type | Description |
---|---|
System.Boolean | true if Trackback auto-discovery meta-data was extracted from the |
Remarks
Will return false if the trackback:ping attribute is not found on the rdf:Description element.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
ToString()
Returns a System.String that represents the current TrackbackDiscoveryMetadata.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current TrackbackDiscoveryMetadata. |
Overrides
Remarks
This method returns the XML representation for the current instance.
WriteTo(XmlWriter)
Saves the current TrackbackDiscoveryMetadata to the specified System.Xml.XmlWriter.
Declaration
public void WriteTo(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter to which you want to save. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
Operators
| Improve this Doc View SourceEquality(TrackbackDiscoveryMetadata, TrackbackDiscoveryMetadata)
Determines if operands are equal.
Declaration
public static bool operator ==(TrackbackDiscoveryMetadata first, TrackbackDiscoveryMetadata second)
Parameters
Type | Name | Description |
---|---|---|
TrackbackDiscoveryMetadata | first | Operand to be compared. |
TrackbackDiscoveryMetadata | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the values of its operands are equal, otherwise; false. |
GreaterThan(TrackbackDiscoveryMetadata, TrackbackDiscoveryMetadata)
Determines if first operand is greater than second operand.
Declaration
public static bool operator>(TrackbackDiscoveryMetadata first, TrackbackDiscoveryMetadata second)
Parameters
Type | Name | Description |
---|---|---|
TrackbackDiscoveryMetadata | first | Operand to be compared. |
TrackbackDiscoveryMetadata | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first operand is greater than the second, otherwise; false. |
Inequality(TrackbackDiscoveryMetadata, TrackbackDiscoveryMetadata)
Determines if operands are not equal.
Declaration
public static bool operator !=(TrackbackDiscoveryMetadata first, TrackbackDiscoveryMetadata second)
Parameters
Type | Name | Description |
---|---|---|
TrackbackDiscoveryMetadata | first | Operand to be compared. |
TrackbackDiscoveryMetadata | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | false if its operands are equal, otherwise; true. |
LessThan(TrackbackDiscoveryMetadata, TrackbackDiscoveryMetadata)
Determines if first operand is less than second operand.
Declaration
public static bool operator <(TrackbackDiscoveryMetadata first, TrackbackDiscoveryMetadata second)
Parameters
Type | Name | Description |
---|---|---|
TrackbackDiscoveryMetadata | first | Operand to be compared. |
TrackbackDiscoveryMetadata | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first operand is less than the second, otherwise; false. |