Exemple #1
0
 public void ReadyForServices(PluginServices services)
 {
     foreach (IServiceContainerPlugin plugin in _plugins)
       {
     plugin.ReadyForServices(services);
       }
 }
Exemple #2
0
 public void Initialize(PluginServices services)
 {
     AssertNotInitialized();
       foreach (IServiceContainerPlugin plugin in _plugins)
       {
     plugin.Initialize(services);
       }
       _initialized = true;
 }
Exemple #3
0
 public void Initialize(PluginServices services)
 {
     services.Resolver.AddAfter(typeof(ActivatorStoreActivatorResolver), new FactoriesActivatorResolver(services.Container));
 }
Exemple #4
0
 public void ReadyForServices(PluginServices services)
 {
 }
 public void Initialize(PluginServices services)
 {
     services.StatePolicy.AddSupportedFeature(SupportedFeature.Interceptors);
       IActivatorFactory defaultActivatorFactory = services.Factory.FindChainedItemByType(typeof(DefaultActivatorFactory));
       services.Factory.AddBefore(typeof(DefaultActivatorFactory), new DynamicProxyActivatorFactory(services.Container, _proxyBuilder, defaultActivatorFactory));
 }