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; }
public static TransportExtensions <FakeTransport> CollectStartupSequence(this TransportExtensions <FakeTransport> transportExtensions, FakeTransport.StartUpSequence startUpSequence) { transportExtensions.GetSettings().Set(startUpSequence); return(transportExtensions); }