Class UrlCategory
UrlCategory class
Represents category for a URL
public class UrlCategory : IEquatable<UrlCategory>
Constructors
Name | Description |
---|
UrlCategory(string) | Initializes a new instance of the UrlCategory class with ‘Custom’ category. |
Properties
Name | Description |
---|
static Blog { get; } | Blog URL |
static Custom { get; } | Custom page URL |
static Ftp { get; } | Ftp URL |
static Home { get; } | Contact’s home-related site. |
static HomePage { get; } | Home page URL |
static Profile { get; } | Profile URL |
static Work { get; } | Contact’s work-related site. |
Description { get; } | Gets description for the ‘Custom’ category of a URL |
Value { get; } | Gets category of a URL |
Methods
Name | Description |
---|
override Equals(object) | Determines whether the specified Object is equal to the current Object. |
virtual Equals(UrlCategory) | Determines whether the specified object is equal to the current object. |
override GetHashCode() | GetHashCode returns a hash function for this 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. |
Fields
Name | Description |
---|
const BlogValue | String value for ‘Blog’ category |
const CustomValue | String value for ‘Custom’ category |
const FtpValue | String value for ‘Ftp’ category |
const HomePageValue | String value for ‘HomePage’ category |
const HomeValue | String value for ‘Home’ category |
const ProfileValue | String value for ‘Profile’ category |
const WorkValue | String value for ‘Work’ category |
See Also