Class Url

Url class

Objects represents a URL and its category.

public class Url : IComparable<Url>

Constructors

NameDescription
Url()The default constructor.

Properties

NameDescription
Category { get; set; }Gets or sets an object category
Href { get; set; }Gets or sets a URL
Prefered { get; set; }Gets or sets a value which defines whether object is preferred.

Methods

NameDescription
virtual CompareTo(Url)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Equals(Url)Determines whether the specified Object is equal to the current Object.
Equals(Url, Url)Determines whether the specified object instances are considered equal.
override GetHashCode()GetHashCode returns a hash function for this object.
virtual GetHashCode(Url)GetHashCode returns a hash function for specified object.
override ToString()Returns a string that represents the current object.
operator ==Determines whether the specified objects are equal.
operator !=Determines whether the specified objects are not equal.

See Also