Exemplo n.º 1
0
 public void AddEvent(Event @event)
 {
     ParameterConversion.ConvertEvent(@event, internalEvent =>
     {
         CEventTrace.EventTracerAddEvent(eventTracer, internalEvent);
     });
 }
Exemplo n.º 2
0
        public bool ShouldSampleEvent(Event @event)
        {
            bool shouldSampleEvent = false;

            ParameterConversion.ConvertEvent(@event, internalEvent =>
            {
                shouldSampleEvent = CEventTrace.EventTracerShouldSampleEvent(eventTracer, internalEvent) > 0;
            });

            return(shouldSampleEvent);
        }