Zdieľať cez


EventId.Implicit(Int32 to EventId) Operator

Definition

Implicitly creates an EventId from the given Int32.

public:
 static operator Microsoft::Extensions::Logging::EventId(int i);
public static implicit operator Microsoft.Extensions.Logging.EventId (int i);
static member op_Implicit : int -> Microsoft.Extensions.Logging.EventId
Public Shared Widening Operator CType (i As Integer) As EventId

Parameters

i
Int32

The Int32 to convert to an EventId.

Returns

Applies to