private void DecodeIpRestriction(bool indexBitSet) { var type = DecodeIpRestrictionType(indexBitSet); var ipAddress = ReceiveString(); var mask = ReceiveUint(); var restriction = new IpRestriction(type, ipAddress, mask); Dispatch(new IpRestrictionArgs(restriction)); }
public IpRestrictionArgs(IpRestriction restriction) { Restriction = restriction; }