Exemple #1
0
 /// <inheritdoc/>
 public void ApplyDispatchBehavior(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase)
 {
     foreach (var channelDispatcherBase in serviceHostBase.ChannelDispatchers)
     {
         var channelDispatcher = (ChannelDispatcher)channelDispatcherBase;
         foreach (var endpointDispatcher in channelDispatcher.Endpoints)
         {
             TelemetryEndpointBehavior.ApplyDispatchBehaviorToEndpoint(endpointDispatcher);
         }
     }
 }
Exemple #2
0
        /// <inheritdoc />
        public void ApplyDispatchBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime)
        {
#if NETFRAMEWORK
            TelemetryEndpointBehavior.ApplyDispatchBehaviorToEndpoint(dispatchRuntime.EndpointDispatcher);
#endif
        }
Exemple #3
0
 /// <inheritdoc />
 public void ApplyClientBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, ClientRuntime clientRuntime)
 {
     TelemetryEndpointBehavior.ApplyClientBehaviorToClientRuntime(clientRuntime);
 }