Equals(DiagnosticEvent)
public bool Equals(DiagnosticEvent other)Indicates whether the current object is equal to another object of the same type.
Parameters
otherDiagnosticEvent- An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.