Core.Common.Utils

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Create GeneralResultTestFactory, add more tests for all calculations in GrassCoverErosionInwardsCalculationServiceTest. Update XMLDocs Related to Issue [WTI-1391]

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

Former-commit-id: 3952c6f76f0de1ee05e376b80a2b8817fabd4ce2

Former-commit-id: 0082f5ae471b9ca5f19ddab584c447271cc4e406

  1. … 8 more files in changeset.
Add duplication check to GeneralResult for Stochasts and TopLevelIllustrationPoints Related to Issue [WTI-1391]

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

Former-commit-id: e89c79ccda401aa8e57d3ce4710f78f07c978b9d

Former-commit-id: 2da9469e287d7de825dd3f47783a20aae505a5a2

    • -0
    • +23
    ./Extensions/EnumerableExtensions.cs
  1. … 11 more files in changeset.
Updated MathNet.Numerics to 3.19.0 - Configured for all relevant projects

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

Former-commit-id: 5e9eee61f1534468776fb811bb43d836188d4f48

Former-commit-id: 20fb50208f62c01f63ab290f657a5f101b028bfe

  1. … 42 more files in changeset.
Removed some unused resources Related to Issue [WTI-1289]

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

Former-commit-id: 8bcbf52d02868b0b8224601484c28fb7000c027a

Former-commit-id: 23c2698a70b320f4c82e1efbdc5c33428691e255

  1. … 12 more files in changeset.
Extended FileFilterGenerator Related to Issue [WTI-1097]

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

Former-commit-id: 1d3c2b42570c187dd55cc27c4b4870c9df606d13

Former-commit-id: b1cbeddd8816a5f394e002da865f0db0fb0d18a3

  1. … 1 more file in changeset.
Core.Components.Charting.TestUtil.Test: - Added core.common.version ref - Sanitized AssemblyInfo.cs - Added GlobalAssembly link Removed obsolete <AllowedReferenceRelatedFileExtensions>none</AllowedReferenceRelatedFileExtensions> from projects Replaced <DebugType>pdbonly</DebugType> with <DebugType>none</DebugType> for test projects in ReleaseForCodeCoverage configuration. Related to Issue [WTI-1272]

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

Former-commit-id: 74ee4dd27678a18952f28919028d8e8814d46617

Former-commit-id: e91cb2b6dae36d8d3cfa8bede7cbc70ad87f90d6

  1. … 44 more files in changeset.
Incorporated comments review 1719: - Moved FileFilterGenerator from Core.Common.Gui to Utils: -- Added references to projects that require Utils -- Moved FileFilterGenerator related resources from Core.Common.Base to Utils -- Deleted redundant test class ExpectedFileTest - Adjusted test names - Added XML docs Related to Issue [WTI-1242]

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

Former-commit-id: 865b42401cd8168aa4aca7e8d048391d42f2b2da

Former-commit-id: bb0f3b2386007e10aadbec61e8f57178409c38df

    • -0
    • +123
    ./FileFilterGenerator.cs
  1. … 99 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
    • +1
    ./Attributes/ResourcesCategoryAttribute.cs
    • -1
    • +1
    ./Attributes/ResourcesDescriptionAttribute.cs
    • -1
    • +1
    ./Attributes/ResourcesDisplayNameAttribute.cs
    • -1
    • +1
    ./Builders/DirectoryWriterErrorMessageBuilder.cs
    • -1
    • +1
    ./Builders/FileReaderErrorMessageBuilder.cs
    • -1
    • +1
    ./Builders/FileWriterErrorMessageBuilder.cs
    • -1
    • +1
    ./Exceptions/InvalidTypeParameterException.cs
  1. … 803 more files in changeset.
Removed implementation of GetMemberName from TypeUtils for we can now use nameof operator of C# 6.0. Related to Issue [WTI-1242]

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

Former-commit-id: 996cc01173768b9787336f8eb638e2baf721353f

Former-commit-id: f5a543233c72cb519f4cc8580fc289facf67c9bc

  1. … 77 more files in changeset.
- Merged conditional ?: expressions into conditional access. - Merged sequential checks in && or || expressions.

Paired with berg_jl

Related to Issue [WTI-1242]

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

Former-commit-id: 046b2480e95cfbe00503c7529eef55b577d7c563

Former-commit-id: b458cfeda0d4eeff999fab9ba59e439bcb9c9526

  1. … 39 more files in changeset.
TypeParam names fixed. Reviewed by: janssen Related to Issue [WTI-1242]

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

Former-commit-id: 15056d0a57768fb2ec13e36474687b24a4dcfb2b

Former-commit-id: 18a3a72d6fb7a55eccade99d520587804f61416d

  1. … 5 more files in changeset.
Corrected Visual Studio Code Analysis issues. For more details, see issue comments Related to Issue [WTI-1242]

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

Former-commit-id: 029caf889615600ae63bfeaa1f87db6399b9c875

Former-commit-id: a794c1d278f4010beaa6275d6287c7840a124a0a

    • -1
    • +1
    ./Exceptions/InvalidTypeParameterException.cs
  1. … 6 more files in changeset.
Moved SettingsHelper.cs to Core.Common.Utils Related to Issue [WTI-1250]

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

Former-commit-id: 09302a2b2ecc70cf41788beb1eba3dbff0606111

Former-commit-id: a095bf6913555053a8171c64ca9349a31a7ddadf

    • -0
    • +59
    ./Settings/ISettingsHelper.cs
    • -0
    • +99
    ./Settings/SettingsHelper.cs
  1. … 59 more files in changeset.
Corrected Resharper code inspection issues: - Removed unused references, parameters, classes, variables or files - Adjusted XML docs for correctness - Inlined variables and string literals - Made public local test class into a private test class Related to Issue [WTI-1242]

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

Former-commit-id: f318b443fa987378be9cc263efda0bc6f424c935

Former-commit-id: c4b73b7817552566b02e4c0506b9caefe041b869

  1. … 28 more files in changeset.
Core code-cleanup. Searched for superfluous this. for property assignments as well.

Related to Issue [WTI-1242]

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

Former-commit-id: ecb498b6096a9d8b0a66e69428411d5ae18ec80a

Former-commit-id: 9cc4bad09e38263256924549eaa807b887009030

    • -1
    • +1
    ./Exceptions/InvalidTypeParameterException.cs
  1. … 279 more files in changeset.
Fixed all license headers for Core.Common Related to Issue [WTI-1242]

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

Former-commit-id: fd6670c8f1dc23800f528d8cf1bcca9b59450097

Former-commit-id: 2fcc5b60e67454ddfd4a0d5153de6c37c38f17b8

  1. … 18 more files in changeset.
Added documentation to all exception constructors with serialized data. Related to Issue [WTI-1203]

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

Former-commit-id: 8455520804e57e2c4c596b7ef976c54462dd263c

Former-commit-id: 4c47e334352bbb341bc1ca4de2916c3f2556cb42

    • -0
    • +11
    ./Exceptions/InvalidTypeParameterException.cs
  1. … 33 more files in changeset.
Improvements after review. Related to Issue [WTI-1143]

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

Former-commit-id: 61a3ea7e63971f7dac1d89909003a39621ea4894

Former-commit-id: e0301c2944a13792c06369904cb0b5ae415a777d

    • -4
    • +4
    ./Exceptions/InvalidTypeParameterException.cs
  1. … 34 more files in changeset.
- Moved BackgroundDataIdentifiers and BackgroundMapDataType to Storage, as they're only storage applicable -- Updated affected XMLDoc - Removed resource values for the RingtoetsWellKnownTileSource.cs -- These are not used for the user interface representation, the property info panel gets its display information from the BackgroundData.Name string property already - Changed InvalidOperationException of the BackgroundDataConverter to a NotSupportedException -- Added test to verify behaviour

Related to Issue [WTI-1141]

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

Former-commit-id: cbc4454696fcf16ed9f3c5f60de51aa1333b2cbd

Former-commit-id: 39465c2d551abd7242853e8c77b9b03674301127

  1. … 19 more files in changeset.
* Cleanup unused Resources. * Renamed *TypeConverter to *Converter, to be consistent with TypeConverters in .Net framework ** Only exception is EnumTypeConverter, because that inherits from EnumConverter. Related to Issue [WTI-1154]

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

Former-commit-id: fd1f72dc0518d0537d60434f9a5c087cc5223796

Former-commit-id: 87b46155441c0324e43ae49dadddc7f2053234a9

    • -0
    • +103
    ./NullableEnumConverter.cs
  1. … 30 more files in changeset.
- Updated texts of ValidateFilePath Added method GetFullPath that throws only ArgumentExceptions Related to Issue [WTI-1060]

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

Former-commit-id: c17a15c75b90157638db91f8a04112cafacf43d8

Former-commit-id: 0eed903d451361194e8d2111d155a0755c633259

    • -15
    • +15
    ./Properties/Resources.Designer.cs
  1. … 31 more files in changeset.
- Updated texts - Changed ValidateFilePath to write the chars Path.GetFileName validates against (Path.GetInvalidPathChars()) in its exception Related to Issue [WTI-1060]

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

Former-commit-id: 2035c7d87c781c6d0cc8fa7a3fdd46eb85a9b7e1

Former-commit-id: 0bb23d23531231bb7c07834ec39505714bb049a7

  1. … 24 more files in changeset.
* Introduced EnumTestFixture and used throughout solution. * Extended TypeUtils with GetDisplayName for enum values. * Introduced ImageBasedMapData ** WmtsMapData now inherits from ImageBasedMapData ** Newly introduced WellKnownTileSource also inherits from ImageBasedMapData Related to Issue [WTI-1105]

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

Former-commit-id: 1a77fc96e65eb336b41b3db4eda31975494145bb

Former-commit-id: 5f6096b6eff37624574906891869115b3bb56695

  1. … 27 more files in changeset.
* Improved error messaging for ColorAccess * Cleanup and improved XML docs Related to Issue [WTI-1088]

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

Former-commit-id: ba83a3bd99ffb502069f2a804be592c7f371d899

Former-commit-id: 04b720a0d17e49e6a0143710c703958d29221758

    • -11
    • +20
    ./Properties/Resources.Designer.cs
  1. … 13 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

    • -12
    • +9
    ./Exceptions/InvalidTypeParameterException.cs
  1. … 60 more files in changeset.
Created Test util projects for Migration.Scripts.Data Renamed ValidateFilePathIsWritable to CreateFileIfNotExists, since it also creates the file Related to Issue [WTI-1060]

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

Former-commit-id: abafe76f7888e3a3b20b814ccae92372aadb747b

Former-commit-id: 5dc5de346f588c0ff0fe3728da01f1a070bd75a6

  1. … 10 more files in changeset.
* updated license delivered with installer and internally to comply with Apache 2.0 requirements * Moved ColorAccess class to Core.Common.Utils * Functional coverage for Core.Components.DotSpatial\Layer\BruTile\Projections Related to Issue [WTI-1088]

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

Former-commit-id: 5ea0e9d236b6e1fe75f093b5d9ddf39c351b2b68

Former-commit-id: 6edf169774efa7d4918f8190425cb2fcc1b36188

    • -0
    • +256
    ./Drawing/ColorAccess.cs
  1. … 35 more files in changeset.
* Renamed FileUtils to IOUtils and extended it with folder related validation methods. ** Defined DirectoryWriterErrorMessageBuilder to be used in validation message generation. * Extended MapControl with BackgroundMapData property. ** MapControl observes BackgroundMapData for changes. ** BackgroundMapData defines the coordinate system used, and will reprojet all other layers when needed. * Defined testing mocks for getting fake tile data, instead of requiring an internet connection for tests. * PipingFailureMechanismView makes use of the BackgroundMapData feature. Related to Issue [WTI-1088]

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

Former-commit-id: ebd8aca90052bb12a8d8167237267eb60e050684

Former-commit-id: 8a9624c64bec0ab4467267d9cbdbe12698bdff96

    • -0
    • +57
    ./Builders/DirectoryWriterErrorMessageBuilder.cs
    • -1
    • +1
    ./Builders/FileWriterErrorMessageBuilder.cs
  1. … 59 more files in changeset.
- Updated XMLdoc for FileUtils - Cleaned projects from files - Set scripts as embedded resource - Introduced VersionedFile Related to Issue [WTI-1060]

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

Former-commit-id: 503924b04acb680e4c6de131b979f796f7c56ea3

Former-commit-id: c2933c6e7da0ace4313cd83c8b14917620ae5dd2

  1. … 21 more files in changeset.
- Extended FileUtils to validate if a path is writable - Extended MigrationService with feature to actually migrate - Added tests - Added first version of a migration script Related to Issue [WTI-1060]

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

Former-commit-id: 4707789247d38b8610d6dfcea46f6f7ba3d5f83f

Former-commit-id: 0bfe0ab0ab08f18941c06964bbaebad464d3ff07

  1. … 25 more files in changeset.