Neco/Requests/PasswordChangeRequest.cs
/// <summary>Compares this PasswordChangeRequest to another object</summary>
/// <param name="obj"></param>
/// <returns>True if and only if the object is a Password Change Request, and all fields match</returns>
Compares this PasswordChangeRequest to another object
Compares this PasswordChangeRequest to another object
public override bool Equals(object obj) {
            if (obj is PasswordChangeRequest C) {
                return C.SessionID == SessionID &&
                    C.CurrentPassword == CurrentPassword &&
                    C.NewPassword == NewPassword;
            }
            return false;
        }
public override bool Equals ( object obj ) { if ( obj is PasswordChangeRequest C ) { return C . SessionID == SessionID && C . CurrentPassword == CurrentPassword && C . NewPassword == NewPassword ; } return false ; }
Compares this PasswordChangeRequest to another object
Compares this PasswordChangeRequest to another object
True if and only if the object is a Password Change Request, and all fields match
True if and only if the object is a Password Change Request and all fields match
obj
object
None