public override void Start(MatchedEventMap beginState) { if (InstrumentationHelper.ENABLED) { InstrumentationHelper.Get().QPatternObserverStart(_evalObserverNode, beginState); } _eventObserver = _evalObserverNode.FactoryNode.ObserverFactory.MakeObserver(_evalObserverNode.Context, beginState, this, null, null, ParentEvaluator.IsFilterChildNonQuitting); _eventObserver.StartObserve(); if (InstrumentationHelper.ENABLED) { InstrumentationHelper.Get().APatternObserverStart(); } }
public override void Start(MatchedEventMap beginState) { var agentInstanceContext = evalObserverNode.Context.AgentInstanceContext; agentInstanceContext.InstrumentationProvider.QPatternObserverStart( evalObserverNode.factoryNode, beginState); agentInstanceContext.AuditProvider.PatternInstance( true, evalObserverNode.factoryNode, agentInstanceContext); eventObserver = evalObserverNode.FactoryNode.ObserverFactory.MakeObserver( Context, beginState, this, null, ParentEvaluator.IsFilterChildNonQuitting); eventObserver.StartObserve(); agentInstanceContext.InstrumentationProvider.APatternObserverStart(); }