/// <summary> /// Creates a new instance. /// </summary> /// <param name="scanner">The assembly type scanner to use.</param> public AppClassMapProvider(AppTypeScanner scanner) { _scanner = scanner ?? throw new ArgumentNullException(nameof(scanner)); }
public static ApplicationContainerBuilder RegisterAll(this ContainerBuilder cb, AppTypeScanner scanner) { return(new ApplicationContainerBuilder(cb, scanner).RegisterAll()); }
public ApplicationContainerBuilder(ContainerBuilder cb, AppTypeScanner scanner) { _cb = cb ?? throw new ArgumentNullException(nameof(cb)); _scanner = scanner ?? throw new ArgumentNullException(nameof(scanner)); }