Core.Common.Base

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed FilteredKeyDictionary.

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/WTI-1141-refactoring@8908 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 7ee1453f5c3268607bcad13f458766a5a6f87ccd

Former-commit-id: 7e8ed23e4f7b1e491d5ea0109838e32e30f700b0

  1. … 2 more files in changeset.
Implemented FilteredKeyDictionary which prevents items being added for keys that are not allowed. Related to Issue [WTI-1141]

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

Former-commit-id: 3aa870ab8b10f9152eb4be2acc713774055b4451

Former-commit-id: 209dd477f22b1329fb8ec9d44c2dbca8cd67c6f6

    • -0
    • +197
    ./FilteredKeyDictionary.cs
  1. … 6 more files in changeset.
* Fixed typos. * Renamed MigrationNeeded to MigrationRequired. * Cleanup. * Asserting log messages improved by taking type of message into account. * Moved CriticalFileReadException from Core.Common.IO\Exceptions to Core.Common.Base\IO * Task is now disposed when disposing ActivityProgressDialog * Put license header back Related to Issue [WTI-1049]

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

Former-commit-id: 54560eb7ca6c0a99cdcf14b0406c23b9eca57311

Former-commit-id: 3b703601071d34a3cca2779d0c671f3d3ddabcd9

    • -0
    • +58
    ./IO/CriticalFileReadException.cs
    • -1
    • +1
    ./ObservableUniqueItemCollectionWithSourcePath.cs
    • -0
    • +44
    ./Storage/MigrationRequired.cs
  1. … 119 more files in changeset.
* Refactored StorageCommandHandler to use OpenProjectActivity. * Fixed bug in ActivityProgressDialog related to cross-threading exceptions. ** Implementation was not guaranteed to use the correct SynchronizationContext. ** Removed ProgressReporter, due to now being obsolete. ** Setting of SynchronizationContext no longer required in unit tests. * Changed default value for MigrationNeeded.

Related to Issue [WTI-1049]

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

Former-commit-id: 40eb861411768c4a895eae17f71470458887712d

Former-commit-id: b19c95c5b04582cf50f772cb1dbfcc34f8b1fb6d

  1. … 13 more files in changeset.
Implemented review comments: - Set the owner of the dialog windows of the DialogBasedInquiryHelper -- Fixed affected tests - Added assertions for the log level severity - Corrected typos in XML docs - Corrected reference settings - Added missing integration tests Related to Issue [WTI-1095]

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

Former-commit-id: ee73e748a0bfbe46c7cc81b43aeae35429b04b5f

Former-commit-id: 6de73e069e8defde63b355a77826f15c39e4ec30

  1. … 7 more files in changeset.
* Defined OpenProjectActivity class. ** Class handles opening a project and optionally migrating it first to the current version. Related to Issue [WTI-1049]

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

Former-commit-id: 871238779ed91c9968d4deba9f60c6a84534cda4

Former-commit-id: b7e95c17580c13c42e8b5a2b00b30b6418c30283

  1. … 4 more files in changeset.
* Refactored RingtoetsProjectMigrator to move responsibility of determining target location for migrated project to seperate method. * Fixed 2 failing tests. Related to Issue [WTI-1049]

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

Former-commit-id: e725e71ba9d80444c8a49d6618832bee6ccd237d

Former-commit-id: 457b058abc9f8baa453a165f511492c49c895042

  1. … 10 more files in changeset.
* Some refactoring to RingtoetsProjectMigrator ** Now more clear return result for ShouldMigrate method between the need for migration or not or when the migration workflow is aborted. ** Moved responsibility of asking user for accepting migration from Migrate to ShouldMigrate method.

These steps have been taken as preparation to ask user for confirmation and location before starting an Activity to perform the actual migration and subsequently opening the migrated project.

Related to Issue [WTI-1049]

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

Former-commit-id: 3d793cf304e5f7f685b1d4341368297a7cbebdc7

Former-commit-id: 61ca241d865cafa2dc91367fd1dbf780aa790f73

    • -0
    • +44
    ./Storage/MigrationNeeded.cs
  1. … 5 more files in changeset.
Final changes to the migrator: - Adjusted inquiry such that it is consistent with the console application - Updated XMLDoc - Refactored RingtoetsProjectMigratorTest: -- Extracted general method which asserts the messages from the inquiry helper -- Added tests to assert behaviour of the migrator when the file to migrate to locks (unable to write) -- Replaced all DirectoryDisposeHelpers with the FileDisposeHelpers, because the SaveFileDialog interactions are now obsolete -- Some minor cleanup

Related to Issue [WTI-1095]

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

Former-commit-id: 024a738fb573f6a4a968fba23eb6b54b859b8596

Former-commit-id: acf833a66fdc442a399e5251063d7b6baa08fc0b

  1. … 4 more files in changeset.
Investigate alternative for failing SaveDialogTests on the buildserver: - Expanded the IInquiryHelper with a GetTargetFileLocation which takes a file filter and a suggested initial name as argument - Incorporated mentioned feature in the RingtoetsProjectMigrator - Adjusted failing tests Related to Issue [WTI-1095]

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

Former-commit-id: 5dcba28f6f531f2c0cc17da88348f279e582a6e1

Former-commit-id: b94f1c1b7bad927661d5eae11fecd6e414e30e71

  1. … 4 more files in changeset.
- Fixed failing tests: used Path.Combine to get the desired target path - Introduced a IMigrateProject: -- Will be used to inject the RingtoetsProjectMigrator in the StorageCommandHandler Related to Issue [WTI-1095]

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

Former-commit-id: a91dcf37e1ce0202f18834db2b39a8f26fa28191

Former-commit-id: cced646b70846232ac83e9628e40cd58cbea1d2a

    • -0
    • +59
    ./Storage/IMigrateProject.cs
  1. … 4 more files in changeset.
Incorporated comments review 1488: - Improved tests of StrategyBase: -- Replaced the return methods with properties to assert if they're called with the right input arguments -- Renamed several tests - Ran DeltaresClean - Inlined the ValidateItems function in the ObservableUniqueItemCollectionWithSourcePath Related to Issue [WTI-1075]

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

Former-commit-id: 4ffcec0c1dcd11672904c2b637269d6a80545364

Former-commit-id: eee856fa71a461b074affbe52ed8d0429d4a7333

    • -24
    • +14
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 4 more files in changeset.
Improvements after review. Related to Issue [WTI-1133]

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

Former-commit-id: 331f6ea0cfe5494ebfc1e4fb917ee42212e8a114

Former-commit-id: e779a2129e8567975f4f85e6bb8e1ac14bd3bc43

  1. … 26 more files in changeset.
Incorporated comments review 1478: - Updated XMLDoc - Refactored ObservableUniqueItemCollectionWithSourcePath: -- Turned class into an abstract class -- Removed generic TFeature, because explicit knowledge is not needed -- Adjusted inherited classes or classes that make direct use of the ObservableUniqueItemCollectionWithSourcePath

Related to Issue [WTI-1075]

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

Former-commit-id: 68cb3152a1c682b33bb73740c7d2e1300459cde2

Former-commit-id: 3e983eaebb15fdbe735d2ae5c62aa07d82a65242

    • -19
    • +8
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 17 more files in changeset.
Review related changes Related to Issue [WTI-1135]

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

Former-commit-id: 79b1c6bb86ceec6e05faa412e77c53419240048b

Former-commit-id: 4e6fb4e002026817f9837bba738e8ac1d44daabf

    • -1
    • +1
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 42 more files in changeset.
Incorporated comments review 1468: - Final refactoring of the derived classes from the ObservableCollectionWithSourcePath: -- Extended functionality of the ObservableUniqueItemCollectionWithSourcePath to ensure that at least one feature is given for the validation on the uniqueness of items -- Adjusted the inherited classes with new signature -- Added and fixed failing tests - Moved resource from Forms to Data for the shared display name between the Data and Form layer in Piping

Related to Issue [WTI-1075]

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

Former-commit-id: 8f83ec6400451549356efd9f20d927d42205140d

Former-commit-id: b27663c546ef469624f9a5bf847bd5a118eea841

    • -22
    • +55
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 23 more files in changeset.
Incorporated comments review 1468: - First refactoring of the derived classes from the ObservableCollectionWithSourcePath: -- Renamed class that it represents a collection with unique items -- Extracted method to get unique features from an object Related to Issue [WTI-1075]

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

Former-commit-id: ca2e766323a3dab411a508b14467d5230d70be37

Former-commit-id: 70b7615b7831401251adc0a9919d10193828537c

    • -159
    • +0
    ./ObservableCollectionWithSourcePath.cs
    • -0
    • +188
    ./ObservableUniqueItemCollectionWithSourcePath.cs
  1. … 18 more files in changeset.
Removed obsolete FileResult. Renamed ExpectedFile to FileFilterGenerator. Updated doc and performed cleanups. Other small improvements. Related to Issue [WTI-1070]

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

Former-commit-id: c7a7dde63238ab597409a15fa06e4403571bd27c

Former-commit-id: 20d5e5224cd7fb10ee003e29defbe3c4268fe344

    • -6
    • +11
    ./ObservableCollectionWithSourcePath.cs
  1. … 67 more files in changeset.
Changed ValidateItems interface so that only ArgumentExceptions are allowed to be thrown. Related to Issue [WTI-1093]

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

Former-commit-id: 3dd7a95a6aa5d1d7c4f3ed36338c8e2ef7e93fdd

Former-commit-id: 3461c8453d85846474f5077c2f4aded4dd892db4

    • -1
    • +2
    ./ObservableCollectionWithSourcePath.cs
  1. … 1 more file in changeset.
* Introduced Range class and FormattableConstants * Refactored all mentions of value ranges in Resources throughout the solution and replaced those by injecting instances of Range. ** This solution supports globalization of the application better. * Removed Dotspatial Legend related stuff from BruTileLayer and IConfiguration (and it's derivatives). * Cleanup in BruTileLayer. * Extended ProbabilityHelper with method for validating probability values. Related to Issue [WTI-1131]

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

Former-commit-id: d5a767df415eb68fcef3ebd2503020ed5f4979cc

Former-commit-id: 1bdd5e06da36a1dbb69f6e6e4d1e529805155d47

    • -0
    • +48
    ./FormattableConstants.cs
  1. … 82 more files in changeset.
Added verification of the database schema of DSoil-Model in which stochastic soil model names need to be unique. Introduced StochasticSoilModelCollection which has additional validation for the uniqueness of the StochasticSoilModel Name. Renamed files containing Table constants. Related to Issue [WTI-1093]

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

Former-commit-id: 80c9a9206c20d8fdfa23712d2c68f9f13cc67378

Former-commit-id: b1779cca6f30e7472f2c9620524f4f5ae6031db2

    • -0
    • +10
    ./ObservableCollectionWithSourcePath.cs
  1. … 55 more files in changeset.
* BackgroundMapDataContainer now notifies observers of child map data Related to Issue [WTI-1105]

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

Former-commit-id: fcbaf5742db13c1d222cad41cc7800934236b80d

Former-commit-id: 924688ffb5c515b78849f7eccbb527ae96a2b42c

  1. … 2 more files in changeset.
Turned the StochasticSoilModelCollection into a collection that uses generics: - Stores elements of type T and the source path (same functionality as the StochasticSoilModelCollection) - Modified influenced components, fixed failing tests Related to Issue [WTI-1083]

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

Former-commit-id: e49abec52fc1d6390fe033f62ed83ea72907ec2b

Former-commit-id: 512f88aa9067fcf94700873b63491b69b276b41a

    • -0
    • +143
    ./ObservableCollectionWithSourcePath.cs
  1. … 22 more files in changeset.
Added validation for Probability of StochasticSoilProfile. Added StochasticSoilmodelUpdateException. Provided base implementation of the DoPostImport (cancelable behavior) and an overridable DoPostImportUpdates to implement just the model updates. Added Strategy postfix to IStochasticSoilModelUpdateStrategy implementations. Fixed liskov issue with StochasticSoilModelUpdateDataStrategy. Related to Issue [WTI-1070]

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

Former-commit-id: 1b86b03430a8714c43abdb447dbf9a561426a94e

Former-commit-id: 781140c2712d3dd80e4e97c162a8455e54d8227d

  1. … 38 more files in changeset.
* Introduced base TestFixture class for testing design of custom exceptions: CustomExceptionDesignGuidelinesTestFixture ** Refactored all ExceptionTest classes to used this new base-class. * Functional testcoverage for Core.Components.DotSpatial\Layer\BruTile\Configurations * PersistentCacheConfiguration no longer supports SQLite cache * ITileSourceFactory now guarantees that all ITileSource elements returned have a WmtsTileSchema. * TODO: More functional coverage for WmtsLayerConfiguration

Related to Issue [WTI-1088]

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

Former-commit-id: 0cd7c47dc7ee2221f69b7c3b4d88205d087c691e

Former-commit-id: b3dbe965ce4a4266af1d8284ad481d2449db14e7

  1. … 61 more files in changeset.
Merged revision(s) 7802-7807 from branches/Release/16_4: Ran Deltares cleanup Related to Issue [WTI-1065]

........

Adjusted validator of StabilityPointStructureParameterKeyword22 to only validate {{Mean}}

Related to Issue [WTI 1102]

........

Changes after review

paired with bouvrie

Related to Issue [WTI-1065]

........

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

Former-commit-id: 7837197cf36f26bd709d61e3d88aaf4c25e55313

Former-commit-id: ee9e4d26cca941db8a5cbd20d5b9735843e6b06f

  1. … 28 more files in changeset.
Ran Deltares cleanup Related to Issue [WTI-1065]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_4@7802 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 05a1c976155c91a0c967427812499bb5fef75a8d

Former-commit-id: 08d16a9e8e7c0987ca42dc9f7b5a4a09473501ff

  1. … 35 more files in changeset.
use nameof in ArgumentExceptions Reviewed by: tangerma

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

Former-commit-id: e3c15c6c005fe58c9c93290e71360a514522a360

Former-commit-id: 3c75b59518770b613e8d73e2c0a71b08da4fd8a7

  1. … 5 more files in changeset.
use nameof in Argument*Exceptions Reviewed by: tangerma

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

Former-commit-id: 489d965acd6cbed374e72d9a9f10deec8787bcfd

Former-commit-id: 0ef178298a4e4639093af98897cfb40d331b372d

  1. … 279 more files in changeset.
Added operator overloads for RoundedDouble (as discussed in Tech meeting) paired with tang_ds

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

Former-commit-id: e2187faa4083564b7a6cae6b9263f57b2ca1304d

Former-commit-id: 0b736ad40e3fd146360771b0d8c692d684fca45d

  1. … 1 more file in changeset.