Show / Hide Table of Contents

Class ObjectExtensions

Extension methods for arbitrary objects.

Inheritance
Object
ObjectExtensions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.MetricSetSyntaxTree.Extensions
Assembly: MetricSetSyntaxTree.dll
Syntax
public static class ObjectExtensions

Methods

View Source

EventId(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
  • View Source
Back to top Generated by DocFX