Ejemplo n.º 1
0
 public bool GetIsRequireCache(FactoryDefinition factory)
 {
     return(!IsTransient &&
            !IsAlternatedByCapture(factory) &&
            !IsAlternatedByDelegation());
 }
Ejemplo n.º 2
0
 public bool GetRequireDispose(FactoryDefinition factory)
 {
     return(Resolution.IsDisposable && GetIsRequireCache(factory));
 }