public UnBlockService(IDataStore dataStore, IFirewallIpBlocker ipBlocker) { this.dataStore = dataStore; this.ipBlocker = ipBlocker; Run(); }
public BlockService(IDataStore dataStore, ILogReader logFileDataSource, IIPLocator ipLocator, IFirewallIpBlocker ipBlocker, IIPBlockPolicyFactory policyFactory) { this.dataStore = dataStore; this.logFileDataSource = logFileDataSource; this.ipLocator = ipLocator; this.ipBlocker = ipBlocker; this.policyFactory = policyFactory; Run(); }