DirectoryDisposeHelper.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updating copyright year. WTI-2951

  1. … 5657 more files in changeset.
Updating copyright year. WTI-2914

  1. … 5658 more files in changeset.
Updated copyright year. WTI-2882

  1. … 5659 more files in changeset.
Updated license headers. WTI-2820

  1. … 136 more files in changeset.
Updated year in license header to 2022. WTI-2715

  1. … 5729 more files in changeset.
Final cleanups. WTI-2770

  1. … 5 more files in changeset.
Improved logic for removing (temporary) directories. WTI-2770

  1. … 3 more files in changeset.
Adapted copyright year. WTI-2195

  1. … 431 more files in changeset.
Updated license headers in source files of test\Core.Common. WTI-1931

  1. … 241 more files in changeset.
Changed copyright year. Paired with lubbers. WTI-1828

  1. … 6095 more files in changeset.
Ran Deltares Cleanup:

- Performed for Common.TestUtil and Common.Util.Test namespaces

WTI-1767

  1. … 16 more files in changeset.
Updated license headers in core. Related to Issue [WTI-1242]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9490 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e7f214adee97782d28ee82f096d8cc27547439e6

Former-commit-id: b339ec31825c8ea8fed91e675069b65afba8433b

  1. … 817 more files in changeset.
Review related changes Related to Issue [WTI-1229]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9155 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 285128d4cefa432f3689d4ab0f908f69c24214b6

Former-commit-id: 7840d089bbdaa8ed2a7ecdf87690902ed1fe1dd7

  1. … 1 more file in changeset.
* Fix attempt for FileDisposeHelper and DirectoryDisposeHelper to perform multiple attempts for deleting file/folder and waiting for finalizers when failing. Related to Issue [WTI-1229]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9050 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 0fc2bacae5cffb8e2611e67caa3642ea8f0f5abf

Former-commit-id: 208b6580935083833eaa986ff6131ecfe98b3d37

  1. … 2 more files in changeset.
Review suggestion - Extracted 'can write in directory' to TestHelper Related to Issue [WTI-1091]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8444 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 765597811edfbd109236b4e396a7773d858cdc7f

Former-commit-id: 8df66894178c30a8573677d772beb1e308a58755

  1. … 4 more files in changeset.
Set DirectoryDisposeHelper to 'not be fully disposed' when directory was not deleted during Dispose() Set BruTileSettings.PersistentCacheDirectoryRoot to retrieve the value of SettingsHelper.GetApplicationLocalUserSettingsDirectory each time it is called. This is ideal for testing purposes Modified MapControlTest to use TestSettingsHelper to choose the active working directory instead of the actual working directory. Also removed the method DoWhileTileCacheRootLocked, which was used for to temporarily move the current content of the actual working directory. Related to Issue [WTI-1091]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8344 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f44094471f21a44d0bd61856415050f2abf2eed0

Former-commit-id: aceb8f20bd12cdf6e679c2b73c615dde2db60162

  1. … 7 more files in changeset.
Introduced DirectoryDisposeHelper Updated DirectoryPermissionsRevoker's XMLdoc Related to Issue [WTI-1091]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8309 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 9e5359a49dea935e9b38558dee625f1b20f7abce

Former-commit-id: 35dc00767df9740e07e03f8390eceae5c86632a0

  1. … 3 more files in changeset.
Introduced DirectoryDisposeHelper Related to Issue [WTI-1091]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8296 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d89a7dd1e9fea5c031bac8cb2af2a62c49238721

Former-commit-id: aa6617a6a6a9e5d3aa2b21451aaf0eacd4ad49c9

  1. … 3 more files in changeset.
Documented exceptions thrown by FileDisposeHelper. Restructured test data so that TestDataCopyHelper became obsolete. Restructured tests so that DirectoryDisposeHelper became obsolete. Extended FileUtils with IsValidFilePath.

Related to Issue [WTI-666]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@4000 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 7bed29310919ea82c6700affd257a7e68b942633

Former-commit-id: 418f990752da2b746fa44a116f2266b30835f853

  1. … 72 more files in changeset.
Added doc where missing. Improved routine for matching the most relevant overtopping result. Made many variable explicit. Translated overtopping/overflow. Added license headers where missing. Added category for indicative wave height results.

Related to Issue [WTI-666]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3986 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e4122fec3057e43ed0aa322beda948de72cc74e3

Former-commit-id: ba893975098e4d3904aa49634351eb394d5de26c

  1. … 18 more files in changeset.
Added DirectoryDisposeHelper to create directories and have them removed when Disposing the instance. Modified FileDisposeHelper so that the Create method doesn't need to be called every time. HydraRingInitializationService and HydraRingConfigurationService are now responsible for writing their files themselves. Introduced HydraRingFileName with file name constants for in-/output files. Made TargetProbabilityCalculationParser and ExceedanceProbabilityCalculationParser non-static, so that output can be set on the parsers and read after parsing. Added license headers to Core.Common.TestUtil and Core.Common.TestUtil.Test files. Added Ringtoets.HydraRing.Calculation.TestUtil which contains a TestTargetProbabilityCalculationInput which can be used for testing. Added Ringtoets.HydraRing.Calculation.TestUtil.Test for tests. Related to Issue [WTI-666]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3933 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 65a4114dbe4f5ac9b516fd2753693db31aa4304e

Former-commit-id: 55601eb9116b1dff7de78dae0cd1a3d4385ea0a5

    • -0
    • +79
    ./DirectoryDisposeHelper.cs
  1. … 47 more files in changeset.