Exemplo n.º 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);
        }
Exemplo n.º 2
0
        public InterceptionProcessingData(InterceptionEntryModel entryModel, EngineConfiguration configuration)
        {
            this.BoundaryType         = BoundaryType.Entry;
            this.TargetInstance       = entryModel.TargetInstance;
            this.MethodArgs           = entryModel.MethodArgs;
            this.Method               = entryModel.Method;
            this.Configuration        = configuration;
            this.VerificationFailures = new List <VerificationFailure>();

            GetAttributesFromMethodBase(entryModel.Method);
        }