RoundedDouble.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated license headers in source files of src\Core.Common. WTI-1931

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

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

- Performed for Core.Common, except TestUtil

WTI-1767

  1. … 70 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.
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. … 290 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. … 284 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 1223: - Implemented IComparable in the RoundedDouble - Added null-check in the HydraulicBoundaryLocationEditor, because the GetPropertiesObject(context) can be null.

Related to Issue [WTI-989]

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

Former-commit-id: dc360d26af8ec209a0b13225ace1db5328197df8

Former-commit-id: 58cbfed5222b113a4bb1b48c9c86b4d6bc8a9ad1

  1. … 3 more files in changeset.
(Editorial) Applied comments review 1178 - Removed redundant references in XML docs (e.g. System.X when System was already referenced) - Standardized XML docs regarding exceptions: Thrown is prefixed for the cause of the exception (e.g. <exception cref="X">Thrown when Lorus Ipsum</exception>)

Related to Issue [WTI-931]

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

Former-commit-id: c9a908b16e966485b3c2f38d472d9628b6f581ff

Former-commit-id: 71660f2e2159bfbb2e958ce8211bb236f66286e4

  1. … 31 more files in changeset.
* Added standard serialization constructor to all Exception classes. * Explicitly defined culture for string.Format methods. * Replaced IFileImporter.ProgressChanged property to method (recommendation by C# coding conventions) * Renamed classes containing win32.dll invokes to NativeMethods (recommendation by C# coding conventions)

Related to Issue [WTI-931]

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

Former-commit-id: 78fae4fb038935c7a58a0fb534baa750b173d589

Former-commit-id: fc7d0938a3677be66218915a3e665a9cc6757df9

  1. … 164 more files in changeset.
Deltares clean-up for Core.Common - Renamed GetLengthsBasedOnReletative to GetLengthsBasedOnRelative - Moved regions down in file Related to Issue [WTI-931]

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

Former-commit-id: a32f95f755c625c08cd50600752daafbd813038f

Former-commit-id: fd19f66c962d2aefbbec884c4976032ebd4f8cc7

  1. … 3 more files in changeset.
* Create and Read extension methods for StabilityPointStructure instances. * Introduced RoundedDouble.NaN constant (removes the proliferation of casting from double.NaN to RoundedDouble) Related to Issue [WTI-911]

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

Former-commit-id: e0faff5c1252f482de48e7849a8d4ae3f6bf1d5c

Former-commit-id: 2f2757c0a49641b703a66ca60d5ab0e28b7e7098

  1. … 71 more files in changeset.
Merged revision(s) 5006-5019 from branches/Release/16_1_1: Resharper cleanup Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

constants now are at the beginning of test files.

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Cleanup project references.

Related to Issue WTI 737

........

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

Former-commit-id: 21f2b2d3f74765437bc2f5ac6001d62a6c3afd98

Former-commit-id: 79979c7e6cb96a998c3b1a0d4fc4d9bd4bf10566

  1. … 219 more files in changeset.
Merged revision(s) 4809 from branches/Release/16_1_1: used types instead of classes. ........

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

Former-commit-id: 609707e227dfe347a5c146a366a08f545f707a4f

Former-commit-id: 7fbafeaee300c9098f33e9d5c0f15762322a1aaf

  1. … 42 more files in changeset.
Added license files to all projects except: Ringtoets.Application.SetUp Core.Common.Version Demo.Ringtoets Demo.Ringtoets.Test

Generated license files in projects.

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

Former-commit-id: 3acc9d7e6e84815f3fe9024f391e86456c362dc5

Former-commit-id: e0d4c1e5eded874de9d9391f8fe6af15b7369319

  1. … 212 more files in changeset.
fixed typo on comments.

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

Former-commit-id: 8e0030cf99e653d5a5663b2b872635ab59f105fd

Former-commit-id: 4f8ad0bda273b1160d3cee7d66446e247ef241a8

Implement IFormattable for RoundedDouble so that it is possible to give a custom format and culture to a RoundedDouble while still be able to use to default formatting of some double values (Infinity) Related to Issue [WTI-453]

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

Former-commit-id: 9cc2d0b46172911ee58e34752148c9304990c744

Former-commit-id: a564205535ba65414e3fbd277564639ac86df114

  1. … 3 more files in changeset.
* RoundDouble '+' operator implemented. * DesignVariable now returns RoundDouble instead of Double, due to calculations being based on RoundedDouble instances. Related to Issue [WTI-388]

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

Former-commit-id: ebb991100c2ad61931a80671532939993d1adf44

Former-commit-id: d3d42cf7f98460e2e03c3cf78edce1c08c8bd4fe

  1. … 13 more files in changeset.
* Extended RoundedDouble with '*' operator. * Fixed bug in unit test due to improper TestCaseAttribute. * IDistribution.StandardDeviation is now RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: e344148bb68292ee95a3fb36dbed65377aee0c6e

Former-commit-id: b7786022de235725c43e1dc148d07a8a0bc48c6d

  1. … 16 more files in changeset.
* Moved RoundedDoubleConverter from Core.Common.Gui/Converters to Core.Common.Base/TypeConverters. * RoundedDouble has TypeConverter defined to prevent having to declare all properties in property-window with RoundedDoubleConverter. * Extended RoundedDouble with '-' operator. * Changes IDistribution.Mean from double to RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: d60284fb16873fb41af391f13b7f212ba33eca1a

Former-commit-id: 4530c8e39bd952e5a7db8c0ab814d2b1ad9633a1

  1. … 37 more files in changeset.
* Turned RoundDouble into an immutable struct. Related to Issue [WTI-388]

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

Former-commit-id: ee08130916be6acd461244c5ebfc792431d27d28

Former-commit-id: a236238ce915f60369e733b7031add89531747f7

  1. … 6 more files in changeset.
* Introduced TypeConverter to be used with RoundedDouble editable property control field. * RoundedDouble now has explicit cast from double to RoundedDouble. * Used Math.Round(double, int) API to prevent having to roundtrip to decimal. Also has more accurate 'number of decimals'. * RoundedDouble constructor refactorings. * PipingInput now has ExitPointL and EntryPointL as RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: 526f9ff6b020e4718add2dba1aaae259930df73d

Former-commit-id: d1774deeae4f90d0df667370350841782cc5a005

  1. … 18 more files in changeset.
* AssessmentLevel properties cannot be set in PipingInputContextProperties. Need to set HydraulicBoundaryLocation to set AssessmentLevel. * Added additional constructor for RoundedDouble. * PipingInput.AssessmentLevel is now an instance of RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: 26b52887003afb3aea8c36978883203165963733

Former-commit-id: 0eefd50ae8f3c8737345439577e2755ae5b41fc0

  1. … 13 more files in changeset.
* Extended RoundedDouble with IEquality<Double> and implicit conversion to Double. Related to Issue [WTI-388]

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

Former-commit-id: 2ebb08c5170e08993edef266234eaedaefcce285

Former-commit-id: 24889e82959a7a51d8efca1b36e9b33cc02ccf09

  1. … 1 more file in changeset.
* Introduced RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: b718b508b31e983fe86b263fa844634519906577

Former-commit-id: a58e88b87ed5e36e93f6f5035718c3f8497e3e4e

    • -0
    • +135
    ./RoundedDouble.cs
  1. … 5 more files in changeset.