From 47bd3e127424a1bb97d48b4cf811ba292b35f673 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Thu, 21 Apr 2022 19:18:36 +0100 Subject: [PATCH] Move MathUtility to Math namespace (#7) --- X10D/src/DoubleExtensions/DoubleExtensions.cs | 4 +++- X10D/src/Int16Extensions/Int16Extensions.cs | 1 + X10D/src/Int32Extensions/Int32Extensions.cs | 1 + X10D/src/Int64Extensions/Int64Extensions.cs | 1 + X10D/src/{ => Math}/MathUtility.cs | 2 +- X10D/src/SingleExtensions/SingleExtensions.cs | 4 +++- 6 files changed, 10 insertions(+), 3 deletions(-) rename X10D/src/{ => Math}/MathUtility.cs (98%) diff --git a/X10D/src/DoubleExtensions/DoubleExtensions.cs b/X10D/src/DoubleExtensions/DoubleExtensions.cs index b8ccada..9c75b42 100644 --- a/X10D/src/DoubleExtensions/DoubleExtensions.cs +++ b/X10D/src/DoubleExtensions/DoubleExtensions.cs @@ -1,4 +1,6 @@ -namespace X10D; +using X10D.Math; + +namespace X10D; /// /// Extension methods for . diff --git a/X10D/src/Int16Extensions/Int16Extensions.cs b/X10D/src/Int16Extensions/Int16Extensions.cs index 5ebc76f..a7bd413 100644 --- a/X10D/src/Int16Extensions/Int16Extensions.cs +++ b/X10D/src/Int16Extensions/Int16Extensions.cs @@ -1,6 +1,7 @@ using System.Diagnostics.Contracts; using System.Net; using System.Runtime.CompilerServices; +using X10D.Math; namespace X10D; diff --git a/X10D/src/Int32Extensions/Int32Extensions.cs b/X10D/src/Int32Extensions/Int32Extensions.cs index 68af49f..7f00221 100644 --- a/X10D/src/Int32Extensions/Int32Extensions.cs +++ b/X10D/src/Int32Extensions/Int32Extensions.cs @@ -1,6 +1,7 @@ using System.Diagnostics.Contracts; using System.Net; using System.Runtime.CompilerServices; +using X10D.Math; namespace X10D; diff --git a/X10D/src/Int64Extensions/Int64Extensions.cs b/X10D/src/Int64Extensions/Int64Extensions.cs index 6054d93..3e5b7bb 100644 --- a/X10D/src/Int64Extensions/Int64Extensions.cs +++ b/X10D/src/Int64Extensions/Int64Extensions.cs @@ -1,6 +1,7 @@ using System.Diagnostics.Contracts; using System.Net; using System.Runtime.CompilerServices; +using X10D.Math; namespace X10D; diff --git a/X10D/src/MathUtility.cs b/X10D/src/Math/MathUtility.cs similarity index 98% rename from X10D/src/MathUtility.cs rename to X10D/src/Math/MathUtility.cs index 4c5a1ea..2d6ee38 100644 --- a/X10D/src/MathUtility.cs +++ b/X10D/src/Math/MathUtility.cs @@ -1,4 +1,4 @@ -namespace X10D; +namespace X10D.Math; /// /// Provides static helpers methods for mathematical functions not found in the .NET class. diff --git a/X10D/src/SingleExtensions/SingleExtensions.cs b/X10D/src/SingleExtensions/SingleExtensions.cs index 870ece6..b998c33 100644 --- a/X10D/src/SingleExtensions/SingleExtensions.cs +++ b/X10D/src/SingleExtensions/SingleExtensions.cs @@ -1,4 +1,6 @@ -namespace X10D; +using X10D.Math; + +namespace X10D; /// /// Extension methods for .