Example #1
0
        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>());
 }
Example #3
0
 public static IAssemblyScanner RegisterServiceLoaders(this IAssemblyScanner assemblyScanner)
 {
     return(assemblyScanner.UseConvention <ServiceLoaderScanConvention>());
 }