Exemple #1
0
 public PactBuilder(PactConfig config)
     : this((port, enableSsl, consumerName, providerName, host, jsonSerializerSettings, sslCert, sslKey) =>
            new MockProviderService(port, enableSsl, consumerName, providerName, config, host,
                                    jsonSerializerSettings, sslCert, sslKey))
 {
     _pactDir = config.PactDir;
 }
 public MockProviderServiceRust(int port, bool enableSsl, string consumerName, string providerName, PactConfig config, IPAddress ipAddress, Newtonsoft.Json.JsonSerializerSettings jsonSerializerSettings, string sslCert, string sslKey)
     : this(
         baseUri => new RubyHttpHostOld(baseUri, consumerName, providerName, config, ipAddress, sslCert, sslKey),
         port,
         enableSsl,
         baseUri => new AdminHttpClient(baseUri, jsonSerializerSettings))
 {
 }
 public MockProviderServiceRust(int port, bool enableSsl, string consumerName, string providerName, PactConfig config, IPAddress ipAddress, Newtonsoft.Json.JsonSerializerSettings jsonSerializerSettings)
     : this(port, enableSsl, consumerName, providerName, config, ipAddress, jsonSerializerSettings, null, null)
 {
 }
 public MockProviderServiceRust(int port, bool enableSsl, string consumerName, string providerName, PactConfig config, IPAddress ipAddress)
     : this(port, enableSsl, consumerName, providerName, config, ipAddress, null, null, null)
 {
 }
Exemple #5
0
 public PactBuilder(PactConfig config)
     : this((port, enableSsl, consumerName, providerName, host) => new MockProviderService(port, enableSsl, consumerName, providerName, config, host))
 {
 }
Exemple #6
0
 public PactBuilder(PactConfig config)
     : this((port, enableSsl, providerName, bindOnAllAdapters) => new MockProviderService(port, enableSsl, providerName, config, bindOnAllAdapters))
 {
 }
Exemple #7
0
 public PactBuilder(PactConfig config)
     : this((port, enableSsl, consumerName, providerName, host, jsonSerializerSettings) => new MockProviderService(port, enableSsl, consumerName, providerName, config, host, jsonSerializerSettings))
 {
 }
Exemple #8
0
 public PactBuilder(PactConfig config)
     : this((port, enableSsl, providerName) => new MockProviderService(port, enableSsl, providerName, config))
 {
 }