Table of Contents

Method Equals

Namespace
Skyline.DataMiner.Net.Ticketing.Validators
Assembly
SLNetTypes.dll

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Remarks

If obj is of type T, then this method returns true if the value is equal; otherwise, false.

If obj is of type GenericEnumEntry<T>, then this method returns true if the name and value are equal; otherwise, false

Equals(GenericEnumEntry<T>)

Determines whether the specified GenericEnumEntry<T> object is equal to the current object.

public bool Equals(GenericEnumEntry<T> other)

Parameters

other GenericEnumEntry<T>

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Remarks

Entries are considered equal if their name and value are the same.