Class ObjectExtensions
Extension methods for arbitrary objects.
Inherited Members
Namespace: Mangrove.MetricSetSyntaxTree.Extensions
Assembly: MetricSetSyntaxTree.dll
Syntax
public static class ObjectExtensions
Methods
View SourceEventId(Object)
Wrap an arbitrary object in an EventId, with name being the short name of the objects type, and ID being a deterministic hash of the name. Event IDs are transferrable across runs of the codebase.
Declaration
public static EventId EventId(this object o)
Parameters
Type | Name | Description |
---|---|---|
Object | o |
Returns
Type | Description |
---|---|
EventId |