C# Class LeanCommandUnframework.HandlerSelector

Inheritance: TypeSelector
Show file Open project: SzymonPobiega/LeanCommandUnframework Class Usage Examples

Public Methods

Method Description
GetHandlerFor ( Type commandType ) : Type
HandlerSelector ( ) : System
HandlerSelector ( IEnumerable handlerTypes ) : System

Protected Methods

Method Description
MatchesType ( Type genericArgument, Type commandType ) : bool

Method Details

GetHandlerFor() public method

public GetHandlerFor ( Type commandType ) : Type
commandType System.Type
return System.Type

HandlerSelector() public method

public HandlerSelector ( ) : System
return System

HandlerSelector() public method

public HandlerSelector ( IEnumerable handlerTypes ) : System
handlerTypes IEnumerable
return System

MatchesType() protected method

protected MatchesType ( Type genericArgument, Type commandType ) : bool
genericArgument System.Type
commandType System.Type
return bool