public NetfilterSystem(ISystemFactory system, INetfilterAdapter tableAdapter, IpSetBinaryAdapter setAdapter = null) { _system = system; _tableAdapter = tableAdapter; if (setAdapter == null) { setAdapter = new IpSetBinaryAdapter(system); } _setAdapter = setAdapter; }
public NetfilterSystem(ISystemFactory system, INetfilterAdapter tableAdapter, IpSetBinaryAdapter setAdapter = null) { _system = system; _tableAdapter = tableAdapter; if (setAdapter == null) { setAdapter = new IpSetBinaryAdapter(system); } _setAdapter = setAdapter; }
public NetfilterSystem(ISystemFactory system, INetfilterAdapter tableAdapter, IpSetBinaryAdapter setAdapter = null) { _system = system; _tableAdapter4 = tableAdapter == null ? null : tableAdapter.GetClient(this, 4); _tableAdapter6 = tableAdapter == null ? null : tableAdapter.GetClient(this, 6); if (setAdapter == null) { setAdapter = new IpSetBinaryAdapter(system); } _setAdapter = setAdapter; }