示例#1
0
 internal object GetInstance(Container container)
 {
     return((LifetimeManager != null)
         ? LifetimeManager.GetInstance(container, this)
         : CreateInstance(container));
 }
示例#2
0
 public object GetInstance()
 {
     return((LifetimeManager != null)
         ? LifetimeManager.GetInstance(this)
         : Factory(Container));
 }