อ่านในภาษาอังกฤษ

แชร์ผ่าน


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.

C#
public static bool operator ==(Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right);

Parameters

left
EventId

The first EventId.

right
EventId

The second EventId.

Returns

true if the objects are equal.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)