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
objobjectThe object to compare with the current object.
Returns
- bool
trueif 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
otherGenericEnumEntry<T>The object to compare with the current object.
Returns
- bool
trueif the specified object is equal to the current object; otherwise,false.
Remarks
Entries are considered equal if their name and value are the same.