protected override void AttachToComponentRegistration(Autofac.Core.IComponentRegistry componentRegistry, Autofac.Core.IComponentRegistration registration) { registration.Preparing += OnComponentPreparing; }
protected override void AttachToComponentRegistration(ATFC.IComponentRegistry componentRegistry, ATFC.IComponentRegistration registration) { // Handle constructor parameters. registration.Preparing += OnComponentPreparing; // Handle properties. registration.Activated += (sender, e) => InjectLoggerProperties(e.Instance); }