Struct
EventId
struct EventId
Module: Neo.Logging
Assembly: Neo.Logging.Abstractions.dll
Source file: Contracts.rvn
Inheritance: Object → ValueType → EventId
Implements: EquatableTo<EventId>
Identifies an event by numeric Id. Name is optional display metadata, not identity.
Constructors
2 items
EventId(id: int, name: string?)
Creates an event identifier with optional display metadata.
EventId(id: int)
Creates an unnamed event identifier.
Properties
2 items
Id: int
Numeric event identity; zero is the default event.
Name: string?
Optional display name, including an explicitly empty name.
Methods
5 items
Equals(other: EventId) -> bool
Compares numeric identity only, as in Microsoft.Extensions.Logging.
Implements EquatableTo<EventId>.Equals
Equals(other: object?) -> bool
Compares boxed event identifiers by numeric identity.
Overrides Object.Equals
GetHashCode() -> int
Returns the numeric identity hash.
Overrides Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToString() -> string
Returns Name when supplied, otherwise the numeric Id.
Overrides Object.ToString
Operators
2 items
Static member:
operator ==(left: EventId, right: EventId) -> bool
No summary available.
Static member:
operator !=(left: EventId, right: EventId) -> bool
No summary available.