public void StopInterfaceTracing() { EnableInterfaceTracingRequest request = new EnableInterfaceTracingRequest(); request.EnableTracingParams = new EnableInterfaceTracingParameters(); request.EnableTracingParams.IsTracingEnabled = false; request.EnableTracingParams.DurationInSeconds = 0; TracingService.EnableInterfaceTracing(request); }
public void StartInterfaceTracing(int duration) { EnableInterfaceTracingRequest request = new EnableInterfaceTracingRequest(); request.EnableTracingParams = new EnableInterfaceTracingParameters(); request.EnableTracingParams.IsTracingEnabled = true; request.EnableTracingParams.DurationInSeconds = duration; TracingService.EnableInterfaceTracing(request); }
public void EnableInterfaceTracing(EnableInterfaceTracingRequest request) { EnableInterfaceTracingAction action = PolicyInjection.Create <EnableInterfaceTracingAction>(); action.Execute(Translators.EnableInterfaceTracingTranslator.TranslateFromServiceToBusiness(request.EnableTracingParams)); }
public void EnableInterfaceTracing(EnableInterfaceTracingRequest request) { TracingServiceAdapter adapter = PolicyInjection.Create <TracingServiceAdapter>(); adapter.EnableInterfaceTracing(request); }