Пример #1
0
        public InterceptionProcessingData(InterceptionExitModel exitModel, EngineConfiguration configuration)
        {
            this.BoundaryType         = BoundaryType.Exit;
            this.TargetInstance       = exitModel.TargetInstance;
            this.ReturnValue          = exitModel.ReturnValue;
            this.Method               = exitModel.Method;
            this.Configuration        = configuration;
            this.VerificationFailures = new List <VerificationFailure>();

            GetAttributesFromMethodBase(exitModel.Method);
        }
Пример #2
0
        public void OnExit(InterceptionExitModel exitModel)
        {
            var procData = new InterceptionProcessingData(exitModel, _configuration);

            _engineImp.RunEngine(procData);
        }