Beispiel #1
0
        private ISymbolServiceClient CreateSymbolServiceClient()
        {
            var client = new SymbolServiceClient(
                ServiceEndpoint,
                GetFactory(),
                Tracer,
                new SymbolServiceClientTelemetry(Tracer, ServiceEndpoint, enable: m_config.EnableTelemetry));

            return(client);
        }
Beispiel #2
0
        private ISymbolServiceClient CreateSymbolServiceClient()
        {
            using (m_counters.StartStopwatch(SymbolClientCounter.AuthDuration))
            {
                var client = new SymbolServiceClient(
                    ServiceEndpoint,
                    GetFactory(),
                    Tracer,
                    new SymbolServiceClientTelemetry(Tracer, ServiceEndpoint, enable: m_config.EnableTelemetry));

                return(client);
            }
        }