/// <summary>Initializes a new instance of <see cref="SchemaRegistryClient"/>.</summary>
 /// <param name="clientDiagnostics">The handler for diagnostic messaging in the client.</param>
 /// <param name="pipeline">The HTTP pipeline for sending and receiving REST requests and responses.</param>
 /// <param name="endpoint">The endpoint URI. For example, myschemaregistry.servicebus.windows.net.</param>
 /// <param name="apiVersion">The API version of the service.</param>
 internal SchemaRegistryClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion)
 {
     RestClient         = new SchemaRestClient(clientDiagnostics, pipeline, endpoint, apiVersion);
     _clientDiagnostics = clientDiagnostics;
 }
Beispiel #2
0
 /// <summary>Initializes a new instance of <see cref="SchemaRegistryClient"/>.</summary>
 /// <param name="clientDiagnostics">The handler for diagnostic messaging in the client.</param>
 /// <param name="pipeline">The HTTP pipeline for sending and receiving REST requests and responses.</param>
 /// <param name="fullyQualifiedNamespace">The fully qualified namespace. For example, myschemaregistry.servicebus.windows.net.</param>
 /// <param name="apiVersion">The API version of the service.</param>
 internal SchemaRegistryClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string fullyQualifiedNamespace, string apiVersion)
 {
     RestClient              = new SchemaRestClient(clientDiagnostics, pipeline, fullyQualifiedNamespace, apiVersion);
     _clientDiagnostics      = clientDiagnostics;
     FullyQualifiedNamespace = fullyQualifiedNamespace;
 }