• Home
  • My Account
  • Docs
  • Catalog Browser
  • API Status
Show / Hide Table of Contents

Class UriId

A base class representing a unique resource identifier.

Inheritance
object
UriId
PostalAddressId
ResourceCatalogId
VariableId
VariableTypeId
Implements
IEquatable<UriId>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: WhenFresh.Api.Client.Models
Assembly: WhenFresh.Api.Client.dll
Syntax
public abstract class UriId : IEquatable<UriId>

Constructors

UriId(string)

A base class representing a unique resource identifier.

Declaration
protected UriId(string uri)
Parameters
Type Name Description
string uri

UriId(Uri)

A base class representing a unique resource identifier.

Declaration
protected UriId(Uri uri)
Parameters
Type Name Description
Uri uri

Fields

Uri

A base class representing a unique resource identifier.

Declaration
protected readonly Uri Uri
Field Value
Type Description
Uri

Methods

Equals(object)

A base class representing a unique resource identifier.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(UriId)

A base class representing a unique resource identifier.

Declaration
public bool Equals(UriId other)
Parameters
Type Name Description
UriId other
Returns
Type Description
bool

GetHashCode()

A base class representing a unique resource identifier.

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

ToString()

A base class representing a unique resource identifier.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

ToUri()

A base class representing a unique resource identifier.

Declaration
public Uri ToUri()
Returns
Type Description
Uri

Operators

operator ==(UriId, UriId)

A base class representing a unique resource identifier.

Declaration
public static bool operator ==(UriId left, UriId right)
Parameters
Type Name Description
UriId left
UriId right
Returns
Type Description
bool

implicit operator string(UriId)

A base class representing a unique resource identifier.

Declaration
public static implicit operator string(UriId id)
Parameters
Type Name Description
UriId id
Returns
Type Description
string

implicit operator Uri(UriId)

A base class representing a unique resource identifier.

Declaration
public static implicit operator Uri(UriId id)
Parameters
Type Name Description
UriId id
Returns
Type Description
Uri

operator !=(UriId, UriId)

A base class representing a unique resource identifier.

Declaration
public static bool operator !=(UriId left, UriId right)
Parameters
Type Name Description
UriId left
UriId right
Returns
Type Description
bool

Implements

IEquatable<T>