コード例 #1
0
 private void Dispose(bool aIsDisposing)
 {
     if (!Disposed)
     {
         if (aIsDisposing)
         {
             WebApplicationFactory?.Dispose();
             ServiceScopeFactory?.Dispose();
         }
         Disposed = true;
     }
 }
コード例 #2
0
 private void Dispose(bool aIsDisposing)
 {
     if (!Disposed)
     {
         if (aIsDisposing)
         {
             Console.WriteLine("==== Disposing ====");
             WebApplicationFactory?.Dispose();
             ServiceScopeFactory?.Dispose();
         }
         Disposed = true;
     }
 }