public Client() { var receiver = TransponderReceiverFactory.CreateTransponderDataReceiver(); _convertFilter = new ConvertFilter(receiver, new CompasCourse(), new Velocity()); _airplaneValidation = new AirplaneValidation(_convertFilter); _outputFilter = new OutputFilter(_airplaneValidation); _separationCondition = new CheckSeparationCondition(_airplaneValidation); }
public AirplaneValidation(IConvertFilter receiver) { this._receiver = receiver; this._receiver.ConvertedDataEvent += _receiver_ConvertedDataEvent; }