Export (0) Print
Expand All

EventSourceAnalyzer Class

Applies to: Semantic Logging Application Block 1.0

Helper class to validate the correctness of EventSource instances. Useful in unit tests.

Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.dll) Version: 1.0.0.0 (1.0.1304.0)

public sealed class EventSourceAnalyzer

EventSourceAnalyzer.InspectAll(MyEventSource.Instance);

Where 'Instance' property returns a singleton instance of 'MyEventSource' class like:
public static MyEventSource Instance = new MyEventSource();

System.Object
  Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility.EventSourceAnalyzer
Show:
© 2014 Microsoft