public TestAgency() { var uri = "TestAgency-" + Guid.NewGuid(); var port = 0; _remotingTransport = new TestAgencyRemotingTransport(this, uri, port); _tcpTransport = new TestAgencyTcpTransport(this, port); }
public TestAgency(string uri, int port) { _remotingTransport = new TestAgencyRemotingTransport(this, uri, port); _tcpTransport = new TestAgencyTcpTransport(this, port); }