Ejemplo n.º 1
0
        protected AroundWeaverBase(MethodDefinition method, AroundAdvice advice, int priority) : base(method)
        {
            adviceName = advice.FullName;
            _priority  = priority;

            adviceMethod = Module.Import(advice.AdviceMethod);
            aspectType   = Module.Import(advice.AdviceMethod.ReflectedType);
            base.method  = method;
        }
Ejemplo n.º 2
0
 public AroundMethodWeaver(MethodDefinition targetMethod, AroundAdvice advice, int priority) : base(targetMethod, advice, priority)
 {
 }
Ejemplo n.º 3
0
 public AroundInstructionWeaver(IInstructionDescription description, MethodDefinition method, AroundAdvice advice, int priority)
     : base(method, advice, priority)
 {
     instruction      = description.Instruction;
     originalOperand  = description.Instruction.Operand;
     this.description = description;
 }
Ejemplo n.º 4
0
 public AroundPropertyGetWeaver(PropertyDefinition targetProperty, AroundAdvice advice, int priority) : base(targetProperty.GetMethod, advice, priority)
 {
 }