/// <summary>
 /// Tears down all the dependencies for this instance.
 /// </summary>
 public static void TearDown()
 {
     _contextStorage.CleanAndDispose(StorageKeyRepository, StorageKeyQueryFactory, StorageKeyDomainFactory);
 }
Beispiel #2
0
 /// <summary>
 /// Tears down all the dependencies of the system.
 /// </summary>
 public static void TearDown()
 {
     ContextStorage.CleanAndDispose(StorageKeyRepository);
 }
 /// <summary>
 /// Tears down all the dependencies of the system.
 /// </summary>
 public static void TearDown()
 {
     _contextStorage.CleanAndDispose(Keys.ToArray());
     Keys.Clear();
 }