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)

Syntax

public sealed class EventSourceAnalyzer
'Declaration
Public NotInheritable Class EventSourceAnalyzer
public ref class EventSourceAnalyzer sealed

Examples

EventSourceAnalyzer.InspectAll(MyEventSource.Instance);

Remarks

Where 'Instance' property returns a singleton instance of 'MyEventSource' class like:

public static MyEventSource Instance = new MyEventSource();

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility.EventSourceAnalyzer

See Also

EventSourceAnalyzer Members

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility Namespace