EventId.Implicit(Int32 to EventId) Operator

Definition

Implicitly creates an EventId from the given Int32.

C#
public static implicit operator Microsoft.Extensions.Logging.EventId(int i);

Parameters

i
Int32

The Int32 to convert to an EventId.

Returns

Applies to

Produkt Versioner
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)