public override void ProvideAspectTransformations(AspectWeaverTransformationAdder adder) { LoggingAspectTransformation transformation = ((LoggingAspectWeaver)AspectWeaver).transformation; AspectWeaverTransformationInstance transformationInstance = transformation.CreateInstance(this); adder.Add(TargetElement, transformationInstance); }
protected override void Initialize() { base.Initialize(); this.instrumentationPlugIn = (InstrumentationPlugIn) this.AspectWeaverTask.Project.Tasks[InstrumentationPlugIn.Name]; this.transformation = new LoggingAspectTransformation( this, this.instrumentationPlugIn.Backend ); ApplyWaivedEffects( this.transformation ); }
protected override void Initialize() { base.Initialize(); this.instrumentationPlugIn = (InstrumentationPlugIn)this.AspectWeaverTask.Project.Tasks[InstrumentationPlugIn.Name]; this.transformation = new LoggingAspectTransformation(this, this.instrumentationPlugIn.Backend); ApplyWaivedEffects(this.transformation); }
public LoggingAspectTransformationInstance(LoggingAspectTransformation parent, AspectWeaverInstance aspectWeaverInstance) : base(parent, aspectWeaverInstance) { this.parent = parent; }