public BeaconEnumeratorFactory(IBeaconParser beaconParser) { if (beaconParser == null) { throw new ArgumentNullException(nameof(beaconParser)); } this.beaconParser = beaconParser; }
public StreamableBeaconsEnumerator(StreamReader stream, IBeaconParser parser) { if (stream == null) { throw new ArgumentNullException(nameof(stream)); } if (parser == null) { throw new ArgumentNullException(nameof(parser)); } this.stream = stream; this.parser = parser; }