Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct Microsoft.​Extensions.​Logging.​EventId

Assembly: Microsoft.Extensions.Logging.Abstractions

Implemented Interfaces

Identifies a logging event. The primary identifier is the "Id" property, with the "Name" property providing a short description of this type of event.

Properties

public int
Id
Gets the numeric identifier for this event.
public string
Name
Gets the name of this event.

Methods

public bool
Equals​(EventId other)
Compares the current instance to another object of the same type. Two events are equal if they have the same ID.
Returns <see langword="true" /> if the current object is equal to <paramref name="other" /> ; otherwise, <see langword="false" /> .
other An object to compare with this object.
public bool
Equals​(object obj)
public int
GetHashCode​()
public string
ToString​()
protected void
Finalize​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object