C# Class Bus.Dispatch.AssemblyScanner

Inheritance: IAssemblyScanner
Mostrar archivo Open project: jbouzaglou/PetPigeonsESB

Public Methods

Method Description
FindCommandHandlersInAssemblies ( IMessage message ) : List
FindEndpointTypesToSerializers ( IEnumerable assemblies = null ) : Type>.Dictionary
FindEventHandlersInAssemblies ( IMessage message ) : List
FindIEndpointTypes ( IEnumerable assemblies = null ) : List
FindMessageSerializers ( IEnumerable assemblies = null ) : Type>.Dictionary
GetHandledCommands ( ) : List
GetHandledEvents ( ) : List
GetMessageOptions ( IEnumerable assembliesToScan = null ) : List
GetSubscriptionFilterTypes ( IEnumerable assemblies = null ) : List

Private Methods

Method Description
FindMethodsInAssemblyFromTypes ( Predicate typeCondition, string methodName, Type[]>.Func genericTypeArguments ) : List
GetAssemblies ( ) : List
GetSubscriptionFilters ( IEnumerable assemblies ) : ISubscriptionFilter>.Dictionary
IsCommandHandler ( Type type, Type messageType ) : bool
IsEventHandler ( Type type, Type messageType ) : bool

Method Details

FindCommandHandlersInAssemblies() public method

public FindCommandHandlersInAssemblies ( IMessage message ) : List
message IMessage
return List

FindEndpointTypesToSerializers() public method

public FindEndpointTypesToSerializers ( IEnumerable assemblies = null ) : Type>.Dictionary
assemblies IEnumerable
return Type>.Dictionary

FindEventHandlersInAssemblies() public method

public FindEventHandlersInAssemblies ( IMessage message ) : List
message IMessage
return List

FindIEndpointTypes() public method

public FindIEndpointTypes ( IEnumerable assemblies = null ) : List
assemblies IEnumerable
return List

FindMessageSerializers() public method

public FindMessageSerializers ( IEnumerable assemblies = null ) : Type>.Dictionary
assemblies IEnumerable
return Type>.Dictionary

GetHandledCommands() public method

public GetHandledCommands ( ) : List
return List

GetHandledEvents() public method

public GetHandledEvents ( ) : List
return List

GetMessageOptions() public method

public GetMessageOptions ( IEnumerable assembliesToScan = null ) : List
assembliesToScan IEnumerable
return List

GetSubscriptionFilterTypes() public method

public GetSubscriptionFilterTypes ( IEnumerable assemblies = null ) : List
assemblies IEnumerable
return List