Show / Hide Table of Contents

Class TrackbackDiscoveryMetadata

Represents metadata about a web log entry that allows clients to auto-discover the TrackBack ping URL for that entry.

Inheritance
System.Object
TrackbackDiscoveryMetadata
Implements
System.IComparable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Argotic.Common
Assembly: Argotic.Common.dll
Syntax
[Serializable]
public class TrackbackDiscoveryMetadata : IComparable

Constructors

| Improve this Doc View Source

TrackbackDiscoveryMetadata()

Initializes a new instance of the TrackbackDiscoveryMetadata class.

Declaration
public TrackbackDiscoveryMetadata()
| Improve this Doc View Source

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 navigator is a null reference (Nothing in Visual Basic).

Properties

| Improve this Doc View Source

About

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 value is a null reference (Nothing in Visual Basic).

| Improve this Doc View Source

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 value is a null reference (Nothing in Visual Basic).

| Improve this Doc View Source

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 value is a null reference (Nothing in Visual Basic).

| Improve this Doc View Source

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 Source

CompareTo(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 obj is not the expected System.Type.

| Improve this Doc View Source

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
System.Object.Equals(System.Object)
| Improve this Doc View Source

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
System.Object.GetHashCode()
| Improve this Doc View Source

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 navigator, otherwise false.

Remarks

Will return false if the trackback:ping attribute is not found on the rdf:Description element.

Exceptions
Type Condition
System.ArgumentNullException

The navigator is a null reference (Nothing in Visual Basic).

| Improve this Doc View Source

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
System.Object.ToString()
Remarks

This method returns the XML representation for the current instance.

| Improve this Doc View Source

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 writer is a null reference (Nothing in Visual Basic).

Operators

| Improve this Doc View Source

Equality(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

System.IComparable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX