public Configuration(TransportInfrastructure transportInfrastructure, QueueBindings queueBindings, bool receivingEnabled) { this.transportInfrastructure = transportInfrastructure; QueueBindings = queueBindings; ReceivingEnabled = receivingEnabled; TransportType = transportInfrastructure.GetType(); }