public static IAssemblyScanner UseDefaultConventions(this IAssemblyScanner scanner, bool usePrefixResolution = true) { var convention = new DefaultScanConvention(usePrefixResolution); return(scanner.UseConvention(convention)); }
public static IAssemblyScanner RegisterApiControllers(this IAssemblyScanner scanner) { return(scanner.UseConvention <ApiControllerScanConvention>()); }
public static IAssemblyScanner RegisterServiceLoaders(this IAssemblyScanner assemblyScanner) { return(assemblyScanner.UseConvention <ServiceLoaderScanConvention>()); }