public FakeReceiver(string id, FakeTransport transportSettings, FakeTransport.StartUpSequence startupSequence, Action <string, Exception, CancellationToken> criticalErrorAction) { this.transportSettings = transportSettings; this.startupSequence = startupSequence; this.criticalErrorAction = criticalErrorAction; Id = id; }
public FakeTransportInfrastructure(FakeTransport.StartUpSequence startUpSequence, HostSettings hostSettings, ReceiveSettings[] receivers, string[] sendingAddresses, FakeTransport transportSettings) { this.startUpSequence = startUpSequence; this.hostSettings = hostSettings; this.receivers = receivers; this.sendingAddresses = sendingAddresses; this.transportSettings = transportSettings; }