void IPexExplorationPackage.Load(Microsoft.ExtendedReflection.ComponentModel.IContainer explorationContainer) { this.iofo = new InsufficientObjectFactoryObserver(); explorationContainer.AddComponent("InsufficientObjectFactoryObserver", this.iofo); }
void IPexExplorationPackage.AfterExploration(IPexExplorationComponent host, object data) { if(this.iofo == null) this.iofo = ServiceProviderHelper.GetService<InsufficientObjectFactoryObserver>(host.Site); this.iofo.AfterExecution(); }