public ScannerLooper1(IPortScanner portScanner, IEmailSender emailSender, IAppSettings appSettings, IMvxLogProvider mvxLogProvider) : base(appSettings, mvxLogProvider) { _scanr = portScanner ?? throw new ArgumentNullException(); _emailr = emailSender ?? throw new ArgumentNullException(); }
public ScanWebPortCommand() { _printer = new PortStatusPrinter(Console.Out); _scanner = new WebPortScanner(); }