C# Class LeanCommandUnframework.TypeSelector

Mostra file Open project: SzymonPobiega/LeanCommandUnframework

Protected Methods

Method Description
FindMatching ( Type openGenericInterfaceType, Type commandType ) : IEnumerable
MatchesType ( Type genericArgument, Type commandType ) : bool
TypeSelector ( ) : System
TypeSelector ( IEnumerable types ) : System

Private Methods

Method Description
ImplementsProperInterface ( Type candidateHandler, Type openGenericInterfaceType, Type commandType ) : bool
IsProperInterface ( Type candidateInterface, Type openGenericInterfaceType, Type commandType ) : bool

Method Details

FindMatching() protected method

protected FindMatching ( Type openGenericInterfaceType, Type commandType ) : IEnumerable
openGenericInterfaceType System.Type
commandType System.Type
return IEnumerable

MatchesType() protected abstract method

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

TypeSelector() protected method

protected TypeSelector ( ) : System
return System

TypeSelector() protected method

protected TypeSelector ( IEnumerable types ) : System
types IEnumerable
return System