/// <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); }