C# Class Ncqrs.Eventing.ServiceModel.Bus.RegisterAllHandlersInAssemblyExtension

显示文件 Open project: SzymonPobiega/ncqrs

Public Methods

Method Description
RegisterAllHandlersInAssembly ( this target, Assembly asm ) : void

Private Methods

Method Description
CreateInstance ( Type type ) : object
ImplementsAtLeastOneIEventHandlerInterface ( Type type ) : bool
IsIEventHandlerInterface ( Type type ) : bool
RegisterHandler ( object handler, Type eventDataType, InProcessEventBus target ) : void

Method Details

RegisterAllHandlersInAssembly() public static method

public static RegisterAllHandlersInAssembly ( this target, Assembly asm ) : void
target this
asm System.Reflection.Assembly
return void