コード例 #1
0
 /// <summary>Initializes a new instance of <see cref="SipRoutingClient"/> for mocking.</summary>
 protected SipRoutingClient()
 {
     _clientDiagnostics = null !;
     _restClient        = null !;
 }
コード例 #2
0
 private SipRoutingClient(string endpoint, HttpPipeline httpPipeline, SipRoutingClientOptions options)
 {
     _clientDiagnostics = new ClientDiagnostics(options);
     _restClient        = new SipRoutingRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion);
 }