Esempio n. 1
0
 public ObjectContainer(ILifetimeScope container, IContainer parent = null)
 {
     _container = container;
     Parent     = parent;
     RegisterInstance <IContainer>(this);
 }
Esempio n. 2
0
 public static ILifetimeScope GetAutofacContainer(this IContainer container)
 {
     return((container as ObjectContainer)?._container);
 }