public override void OnTargetInitialized(object sender, InterceptionEventArgs eventArgs) { Console.WriteLine("LoggingAspect: Mixin [{0}] initialized for [{1}]", eventArgs.Mixin.GetType().FullName, eventArgs.Target.GetType().FullName); }
/// <summary> /// Fired after the <see cref="pMixinAttribute.Mixin"/> object /// is instantiated. /// </summary> /// <param name="sender"> /// The Mixin host container. /// </param> /// <param name="eventArgs"> /// Contains references to the Target and Mixin class. /// </param> public virtual void OnTargetInitialized(object sender, InterceptionEventArgs eventArgs) { }
public void OnTargetInitialized(object sender, InterceptionEventArgs args) { InitializedCount++; }