Exemple #1
0
        public InterceptionProcessingData(InterceptionExceptionModel exceptionModel, EngineConfiguration configuration)
        {
            this.BoundaryType         = BoundaryType.Exception;
            this.TargetInstance       = exceptionModel.TargetInstance;
            this.Exception            = exceptionModel.Exception;
            this.Method               = exceptionModel.Method;
            this.Configuration        = configuration;
            this.VerificationFailures = new List <VerificationFailure>();

            GetAttributesFromMethodBase(exceptionModel.Method);
        }
Exemple #2
0
        public void OnException(InterceptionExceptionModel exceptionModel)
        {
            var procData = new InterceptionProcessingData(exceptionModel, _configuration);

            _engineImp.RunEngine(procData);
        }