Equals(UserCredential?, UserCredential?) Method

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

Determines whether one User Credential is equal to another.

public static bool Equals(UserCredential? left, UserCredential? right)

Parameters

left
UserCredential

The first user credential to compare.

right
UserCredential

The second user credential to compare.

Returns

Boolean
True if the two user credential objects are equal; false otherwise.

Remarks

Returns true when both operands are null, and false when exactly one operand is null, following the standard reference-equality convention.