示例#1
0
 public static IAssemblyScanner ConnectImplementationsToTypesClosing(this IAssemblyScanner scanner, Type openType)
 {
     return(scanner.ApplyConvention(new ConnectImplementationsServiceRegistrationConvention(openType)));
 }
示例#2
0
 public static IAssemblyScanner AddAllTypesOf(this IAssemblyScanner scanner, Type type)
 {
     return(scanner.ApplyConvention(new AddImplementationsServiceRegistrationConvention(type)));
 }