コード例 #1
0
 public Type[] GetGenericInterfaceImplementations(Type type)
 {
     return(typeCatalog.GetGenericInterfaceImplementations(type));
 }
コード例 #2
0
 private static IEnumerable <Type> GetAllCommandHandlerTypes(ITypeCatalog typeCatalog)
 {
     return(typeCatalog.GetGenericInterfaceImplementations(typeof(IHandleCommands <>)));
 }
コード例 #3
0
 private static IEnumerable<Type> GetAllCommandHandlerTypes(ITypeCatalog typeCatalog)
 {
     return typeCatalog.GetGenericInterfaceImplementations(typeof (IHandleCommands<>));
 }