Table of Contents

Class TagNameComparer

Namespace
L5Sharp.Common
Assembly
L5Sharp.dll

A IEqualityComparer<T> for the TagName object.

public class TagNameComparer : IEqualityComparer<TagName>
Inheritance
TagNameComparer
Implements
Inherited Members

Properties

Member

An IEqualityComparer<T> that compares the Member property of the TagName value.

public static TagNameComparer Member { get; }

Property Value

TagNameComparer

Path

An IEqualityComparer<T> that compares the Path property of the TagName value.

public static TagNameComparer Path { get; }

Property Value

TagNameComparer

Qualified

An IEqualityComparer<T> that compares the full qualified TagName value.

public static TagNameComparer Qualified { get; }

Property Value

TagNameComparer

Root

An IEqualityComparer<T> that compares the Root property of the TagName value.

public static TagNameComparer Root { get; }

Property Value

TagNameComparer

Methods

Equals(TagName?, TagName?)

Determines whether the specified objects are equal.

public virtual bool Equals(TagName? x, TagName? y)

Parameters

x TagName

The first object of type T to compare.

y TagName

The second object of type T to compare.

Returns

bool

true if the specified objects are equal; otherwise, false.

GetHashCode(TagName)

Returns a hash code for the specified object.

public virtual int GetHashCode(TagName obj)

Parameters

obj TagName

The object for which a hash code is to be returned.

Returns

int

A hash code for the specified object.

Exceptions

ArgumentNullException

The type of obj is a reference type and obj is null.