EventId.Equality(EventId, EventId) Operator

Definition

Checks if two specified EventId instances have the same value. They are equal if they have the same Id.

public:
 static bool operator ==(Microsoft::Extensions::Logging::EventId left, Microsoft::Extensions::Logging::EventId right);
public static bool operator == (Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right);
static member ( = ) : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.EventId -> bool
Public Shared Operator == (left As EventId, right As EventId) As Boolean

Parameters

left
EventId

The first EventId.

right
EventId

The second EventId.

Returns

true if the objects are equal.

Applies to