C# Class Appccelerate.EventBroker.Internals.Inspection.EventInspector

The EventInspector scans classes for publications or subscriptions.
Inheritance: IEventInspector
Exibir arquivo Open project: appccelerate/appccelerate

Public Methods

Method Description
EventInspector ( IExtensionHost extensionHost ) : System
Scan ( object instance ) : Appccelerate.EventBroker.Internals.Inspection.ScanResult
ScanPublisherForEvent ( object publisher, string eventName ) : EventInfo

Private Methods

Method Description
CheckEventInfoFound ( object publisher, string eventName, EventInfo eventInfo ) : void
ScanForPublications ( object instance ) : IEnumerable
ScanForSubscriptions ( object instance ) : IEnumerable

Method Details

EventInspector() public method

public EventInspector ( IExtensionHost extensionHost ) : System
extensionHost IExtensionHost
return System

Scan() public method

public Scan ( object instance ) : Appccelerate.EventBroker.Internals.Inspection.ScanResult
instance object
return Appccelerate.EventBroker.Internals.Inspection.ScanResult

ScanPublisherForEvent() public method

public ScanPublisherForEvent ( object publisher, string eventName ) : EventInfo
publisher object
eventName string
return System.Reflection.EventInfo