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; }
public AroundMethodWeaver(MethodDefinition targetMethod, AroundAdvice advice, int priority) : base(targetMethod, advice, priority) { }
public AroundInstructionWeaver(IInstructionDescription description, MethodDefinition method, AroundAdvice advice, int priority) : base(method, advice, priority) { instruction = description.Instruction; originalOperand = description.Instruction.Operand; this.description = description; }
public AroundPropertyGetWeaver(PropertyDefinition targetProperty, AroundAdvice advice, int priority) : base(targetProperty.GetMethod, advice, priority) { }