EventId Struct

Namespace
Microsoft.Extensions.Logging
Assemblies
  • Microsoft.Extensions.Logging.Abstractions

Syntax

public struct EventId
struct Microsoft.Extensions.Logging.EventId

Constructors

EventId(System.Int32, System.String)
public EventId(int id, string name = null)

Properties

Microsoft.Extensions.Logging.EventId.Id
Return type:System.Int32
public int Id { get; }
Microsoft.Extensions.Logging.EventId.Name
Return type:System.String
public string Name { get; }

Operators

Implicit(System.Int32 to Microsoft.Extensions.Logging.EventId)
Return type:Microsoft.Extensions.Logging.EventId
public static implicit operator EventId(int i)