Core.Common.Base

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Incorporated comments review 1385: (Editorial) - Made the spelling of "Canceled" or "Uncancelable (opposed to "Cancelled" or "Uncancellable") consistent throughout the application.

Note:

"Cancellation" is legit U.S. spelling and therefore unchanged. "Cancelation" is not common and rarely used.

Related to Issue [WTI-490]

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

Former-commit-id: 665e259f03237740e63d6441088354043dae52f2

Former-commit-id: 98c98ae04c081843c7bab2c55946744a8d06dad2

  1. … 34 more files in changeset.
Incorporated comments review 1385: - Improved FileImporterBase: -- Use null propagation -- Removed unnecessary setter -- Virtual method to abstract method, fixed affected failing tests - Improved StructuresImporter: -- Used nameof function -- Renamed private field parameter name conform coding standards - Minor editorial changes - Removed redundant aliases

Related to Issue [WTI-490]

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

Former-commit-id: ae36ef10b17db21a36e1c42d2fff77760a8665d6

Former-commit-id: 125e339e8568945268976ffc402eba124269dfff

  1. … 6 more files in changeset.
Get rid of AffectedNonTargetObservableInstances property in FileImporterBase Related to Issue [WTI-490]

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

Former-commit-id: b4399ab53f7c2aac15418f5353df3a273c66df30

Former-commit-id: ad12f9acfead5c0cbdb94f1fdff36c99392b06e6

  1. … 3 more files in changeset.
Merged revision(s) 7595-7638 from branches/WTI-490:

Merged revision(s) 7537-7594 from trunk

........

Initial commit of changes from kleijn:

- Removed HandleUserCancellingImport: FileImporter should not decide on its own how to handle Canceled actions. Consequently removed the messages that are generated by these handles

- Added logic to the importers: Cancelling is not possible when putting data on the data model. Action will always execute when it is in this stage

- Added branching paths in the activity: Import() returns false when it has failed or is cancelled

Note: failing tests will be fixed in following commits

........

Fixed tests of the FileImporterBase and Activity:

- Checks on the states are made for the 4 different paths of the Import:

-- Import successful, canceled or not

-- Import not successful, canceled or not

- Moved logging from the activity to the importer

- Added tests to assert mentioned behaviour

........

Fixed tests of the PipingSurfaceLinesCsvImporter:

- Added test to verify behaviour when canceling at the two stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Added resource value for the ImportActivity (missing file commit)

........

Fixed tests of the PipingSoilProfilesImporter:

- Added test to verify behaviour when canceling at the three stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Cleaned redundant brackets

........

Fixed tests of the StructuresImporter:

- Added test to verify behaviour when canceling at the two stages during the import. Test regarding cancelling while Creating structures is missing

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

Adjusted test in PipingSoilProfilesImporterTest

- Changed initial value of the result to make clear that the value is set correctly

........

Fixed tests of the ProfilesImporters:

- Added test to verify behaviour when canceling at the two stages during the import. Test regarding cancelling while Creating structures is missing

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Removed obsolete Cancel call in the PipingSoilProfilesImporterTest

........

FileImporters should call Observers in case the import was successfull AND was cancelled at an uncancellable stage.

Note: test is missing to verify this behaviour

........

Fixed tests of the ProfilesImporters:

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Temporarily removed the Cancel tests, because the FeatureBasedMapDataImporter does not have a handle for NotifyProgress. Hence, Cancel method cannot be invoked when Import is running.

........

Fixed tests of the FailureMechanismSectionsImporter:

- Added test to verify behaviour when canceling at the three stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Cleaned up tests in the StructuresImporterTest

........

Fixed tests of the ReferenceLineImporter:

- Added test to verify behaviour when canceling at the two stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

........

Related to Issue [WTI-490]

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

Former-commit-id: 1c355702dfbd410c7c4733529d8db9e243496eba

Former-commit-id: 75c614862d018947936ef85e3775a125c425c032

  1. … 23 more files in changeset.
FileImporters should call Observers in case the import was successfull AND was cancelled at an uncancellable stage.

Note: test is missing to verify this behaviour

Related to Issue [WTI-490]

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

Former-commit-id: e83b44b0f9859bd3ab8158432cbbb7e8f6fcea42

Former-commit-id: 2d24eded9c720fa9d27095f2fe3beee65d42f323

Fixed tests of the PipingSurfaceLinesCsvImporter: - Added test to verify behaviour when canceling at the two stages during the import - Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base - Added resource value for the ImportActivity (missing file commit)

Related to Issue [WTI-490]

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

Former-commit-id: 57abd999d6185e5e4841d6fa1c380dc3c8c9cc39

Former-commit-id: 836f2fc05903415944c167b13983d49f290d5216

  1. … 4 more files in changeset.
Fixed tests of the FileImporterBase and Activity: - Checks on the states are made for the 4 different paths of the Import: -- Import successful, canceled or not -- Import not successful, canceled or not - Moved logging from the activity to the importer - Added tests to assert mentioned behaviour

Related to Issue [WTI-490]

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

Former-commit-id: b54ccb13a0780daf3321fcbc02998200ae3283da

Former-commit-id: 22fd647c89a1cc3b0d4f812e4018335057f64e80

  1. … 2 more files in changeset.
Changed the log message for when failure mechanism contribution is zero. Related to Issue [WTI-777]

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

Former-commit-id: c77e204f8e881e2c6155133b7acf54832702ee0f

Former-commit-id: ef70a113ba014154b93c39241fec8aec9f16f9c4

  1. … 5 more files in changeset.
Initial commit of changes from kleijn: - Removed HandleUserCancellingImport: FileImporter should not decide on its own how to handle Canceled actions. Consequently removed the messages that are generated by these handles - Added logic to the importers: Cancelling is not possible when putting data on the data model. Action will always execute when it is in this stage - Added branching paths in the activity: Import() returns false when it has failed or is cancelled

Note: failing tests will be fixed in following commits

Related to Issue [WTI-490]

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

Former-commit-id: 409bfee1e3deebb4fe4368cb7010a8c4c37dae5e

Former-commit-id: 98175da77f6910f259097a90626bbb10450e2c8f

  1. … 20 more files in changeset.
Reverted some changes Related to Issue [WTI-490]

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

Former-commit-id: 393a81aac4454cde27f7e6d667c125be4feb4c81

Former-commit-id: 9f0e2dd030a3f7922b3d222910b7f7c36eff6e02

  1. … 3 more files in changeset.
Ensured PostImportUpdates are also performed for import routines that are canceled Related to Issue [WTI-490]

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

Former-commit-id: e656c1c86281862b19fcbed4d24fb1ad93a27d17

Former-commit-id: 64de80ca92d93bfd541aabe98834020536dda166

  1. … 3 more files in changeset.
Fixed bug when cancelling an import action results in a failed state of the activity: - Activity checks if it wasn't cancelled. If it was, do not set the activity state to failed; otherwise check the result of the import action - Added test to assert the behaviour

Related to Issue [WTI-982]

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

Former-commit-id: 130e530ddcc3eea92352e5a4e389a83109f89119

Former-commit-id: ffaf023f8720c812f357f0d8b9fd4e2739c39336

  1. … 1 more file in changeset.
Updated SQLite to latest version (104) paired with berg_jl

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

Former-commit-id: b7f49496d25e38cc4ff409d44a86b09d8ab5b536

Former-commit-id: b44681b37cdf650d516bbce670eef9e8de813e4a

  1. … 215 more files in changeset.
- Upgraded Project ToolsVersion="4.0" to ToolsVersion="14.0" - Ignored ".vs" folder in trunk paired with tang_ds

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

Former-commit-id: beca2918e38aa1e3900b6bc17a0df7e8d1f9c8e3

Former-commit-id: 681a7a3764b91f67e1e97dc0d30f930c901276e0

  1. … 219 more files in changeset.
Changed the behavior in the FileImportActivity. If the fileImporter.Import() returns FALSE (failed import), the Activity state will be set to ActivityState.Failed to indicate that the import action was unsuccessful. Related to Issue [WTI-982]

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

Former-commit-id: 252f988a74852e53593cd278cf5d3ea682a9fd0e

Former-commit-id: 1782136886b4160733dad2821df1635b8d0d0d5d

  1. … 1 more file in changeset.
Performed Resharper cleanup

Related to Issue [WTI-1008]

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

Former-commit-id: 23d17fd6b5257a25b167839d9106eea6fa7be554

Former-commit-id: 4a817a07bc646924777514e78010c89bc0fdf9b5

  1. … 114 more files in changeset.