Exemplo n.º 1
0
        public ProcessResult RunEngine(InterceptionProcessingData processingData)
        {
            var verifierResult = _verificationPipeline.VerifyInterception(processingData);

            processingData.AddVerificationFailures(verifierResult.Failures);

            var res = _processMultiplexor.Process(processingData);

            return(res);
        }
Exemplo n.º 2
0
        public EntryProcessingResult OnEntry(InterceptionEntryModel entryModel)
        {
            var procData  = new InterceptionProcessingData(entryModel, _configuration);
            var engineRes = _engineImp.RunEngine(procData);

            var returnVal = new EntryProcessingResult();

            if (engineRes.OverrideValue != null)
            {
                returnVal.BypassProxiedMethod      = true;
                returnVal.BypassProxiedMethodValue = engineRes.OverrideValue;
            }

            return(returnVal);
        }
Exemplo n.º 3
0
        public void OnExit(InterceptionExitModel exitModel)
        {
            var procData = new InterceptionProcessingData(exitModel, _configuration);

            _engineImp.RunEngine(procData);
        }