/// <summary>
        /// apply the client behaviour.
        /// </summary>
        /// <param name="endpoint">The endpoint.</param>
        /// <param name="clientRuntime">The client runtime.</param>
        public void ApplyClientBehavior(ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime)
        {
            var inspector = new WcfMiniProfilerClientInspector();

            clientRuntime.MessageInspectors.Add(inspector);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// apply the client behaviour.
 /// </summary>
 /// <param name="endpoint">The endpoint.</param>
 /// <param name="clientRuntime">The client runtime.</param>
 public void ApplyClientBehavior(ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime)
 {
     var inspector = new WcfMiniProfilerClientInspector();
     clientRuntime.MessageInspectors.Add(inspector);
 }