/// <summary> /// Tears down all the dependencies for this instance. /// </summary> public static void TearDown() { _contextStorage.CleanAndDispose(StorageKeyRepository, StorageKeyQueryFactory, StorageKeyDomainFactory); }
/// <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(); }