Exemple #1
0
 private void Dispose(bool disposing)
 {
     if (disposing)
     {
         GC.SuppressFinalize(this);
     }
     ScopeContainer.TryDispose();
     ScopeContainer = null;
 }
Exemple #2
0
 public StardustDependencyScope(IDependencyResolver scopeContainer)
 {
     ScopeContainer = scopeContainer;
     Logging        = scopeContainer.GetService <ILogging>();
 }