Provides a generic enumeration with implicit conversion to Microsoft.Extensions.Logging.EventId instances for use with loggers.
The value of each enum member is fixed to an
int and represents the numeric event ID. The name of the
event is automatically set to the corresponding field name.
Using the generic EventIdEnum<TDerived>, applications can define a central repository of event IDs with symbolic names and automatically generate resource informations for the Windows Event Log.