diff --git a/SensitiveString.sln b/SensitiveString.sln index 8bb8cf6..a5395b8 100644 --- a/SensitiveString.sln +++ b/SensitiveString.sln @@ -1,20 +1,20 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SensitiveString", "src\SensitiveString\SensitiveString.csproj", "{BFACD806-7D36-4ED7-8FE1-E7457299A6E3}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Text.Privacy.SensitiveString", "src\Text.Privacy.SensitiveString\Text.Privacy.SensitiveString.csproj", "{BFACD806-7D36-4ED7-8FE1-E7457299A6E3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SensitiveString.EntityFrameworkCore", "src\SensitiveString.EntityFrameworkCore\SensitiveString.EntityFrameworkCore.csproj", "{39BBD349-62C1-4989-BE0B-52B3A5DFC4C8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Text.Privacy.SensitiveString.EntityFrameworkCore", "src\Text.Privacy.SensitiveString.EntityFrameworkCore\Text.Privacy.SensitiveString.EntityFrameworkCore.csproj", "{39BBD349-62C1-4989-BE0B-52B3A5DFC4C8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SensitiveString.HotChocolate", "src\SensitiveString.HotChocolate\SensitiveString.HotChocolate.csproj", "{EA5EA98A-75F8-422F-8858-F9857075584E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Text.Privacy.SensitiveString.HotChocolate", "src\Text.Privacy.SensitiveString.HotChocolate\Text.Privacy.SensitiveString.HotChocolate.csproj", "{EA5EA98A-75F8-422F-8858-F9857075584E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SensitiveString.Swagger", "src\SensitiveString.Swagger\SensitiveString.Swagger.csproj", "{C3B8ED7F-E680-4364-B9AE-C12019E782E3}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Text.Privacy.SensitiveString.Swagger", "src\Text.Privacy.SensitiveString.Swagger\Text.Privacy.SensitiveString.Swagger.csproj", "{C3B8ED7F-E680-4364-B9AE-C12019E782E3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SensitiveString.Tests", "test\SensitiveString.Tests\SensitiveString.Tests.csproj", "{C0B98D42-F2BB-4D5D-A2C2-EA137D9FBF3F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Text.Privacy.SensitiveString.Tests", "test\Text.Privacy.SensitiveString.Tests\Text.Privacy.SensitiveString.Tests.csproj", "{C0B98D42-F2BB-4D5D-A2C2-EA137D9FBF3F}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{21EB174C-CED8-40DB-AD4E-E3BF9D9D3EC7}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{654EFDB6-8ECD-42CB-A3D6-F7DE361A692B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SensitiveString.Examples", "src\SensitiveString.Examples\SensitiveString.Examples.csproj", "{BA642BF0-1C73-469C-9902-FDDD301DA73C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Text.Privacy.SensitiveString.Examples", "src\Text.Privacy.SensitiveString.Examples\Text.Privacy.SensitiveString.Examples.csproj", "{BA642BF0-1C73-469C-9902-FDDD301DA73C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/SensitiveString.EntityFrameworkCore/SensitiveEmailConverter.cs b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveEmailConverter.cs similarity index 84% rename from src/SensitiveString.EntityFrameworkCore/SensitiveEmailConverter.cs rename to src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveEmailConverter.cs index e149f03..745871e 100644 --- a/src/SensitiveString.EntityFrameworkCore/SensitiveEmailConverter.cs +++ b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveEmailConverter.cs @@ -1,6 +1,6 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace SensitiveString.EntityFrameworkCore; +namespace Text.Privacy.SensitiveString.EntityFrameworkCore; public class SensitiveEmailConverter : ValueConverter { diff --git a/src/SensitiveString.EntityFrameworkCore/SensitiveStringComparer.cs b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveStringComparer.cs similarity index 83% rename from src/SensitiveString.EntityFrameworkCore/SensitiveStringComparer.cs rename to src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveStringComparer.cs index 77456b2..84a40cd 100644 --- a/src/SensitiveString.EntityFrameworkCore/SensitiveStringComparer.cs +++ b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveStringComparer.cs @@ -1,6 +1,6 @@ using Microsoft.EntityFrameworkCore.ChangeTracking; -namespace SensitiveString.EntityFrameworkCore; +namespace Text.Privacy.SensitiveString.EntityFrameworkCore; public class SensitiveStringComparer : ValueComparer { diff --git a/src/SensitiveString.EntityFrameworkCore/SensitiveStringConverter.cs b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveStringConverter.cs similarity index 84% rename from src/SensitiveString.EntityFrameworkCore/SensitiveStringConverter.cs rename to src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveStringConverter.cs index e7b536a..de2b71c 100644 --- a/src/SensitiveString.EntityFrameworkCore/SensitiveStringConverter.cs +++ b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveStringConverter.cs @@ -1,6 +1,6 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace SensitiveString.EntityFrameworkCore; +namespace Text.Privacy.SensitiveString.EntityFrameworkCore; public class SensitiveStringConverter : ValueConverter { diff --git a/src/SensitiveString.EntityFrameworkCore/SensitiveStringExtensions.cs b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveStringExtensions.cs similarity index 89% rename from src/SensitiveString.EntityFrameworkCore/SensitiveStringExtensions.cs rename to src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveStringExtensions.cs index bb0b3cc..dece34f 100644 --- a/src/SensitiveString.EntityFrameworkCore/SensitiveStringExtensions.cs +++ b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/SensitiveStringExtensions.cs @@ -1,6 +1,6 @@ using Microsoft.EntityFrameworkCore; -namespace SensitiveString.EntityFrameworkCore; +namespace Text.Privacy.SensitiveString.EntityFrameworkCore; public static class SensitiveStringExtensions { diff --git a/src/SensitiveString.EntityFrameworkCore/SensitiveString.EntityFrameworkCore.csproj b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/Text.Privacy.SensitiveString.EntityFrameworkCore.csproj similarity index 63% rename from src/SensitiveString.EntityFrameworkCore/SensitiveString.EntityFrameworkCore.csproj rename to src/Text.Privacy.SensitiveString.EntityFrameworkCore/Text.Privacy.SensitiveString.EntityFrameworkCore.csproj index 52b9fdd..936c99e 100644 --- a/src/SensitiveString.EntityFrameworkCore/SensitiveString.EntityFrameworkCore.csproj +++ b/src/Text.Privacy.SensitiveString.EntityFrameworkCore/Text.Privacy.SensitiveString.EntityFrameworkCore.csproj @@ -5,7 +5,7 @@ - + diff --git a/src/SensitiveString.Examples/PersonDto.cs b/src/Text.Privacy.SensitiveString.Examples/PersonDto.cs similarity index 65% rename from src/SensitiveString.Examples/PersonDto.cs rename to src/Text.Privacy.SensitiveString.Examples/PersonDto.cs index 72e3128..5b1a9bf 100644 --- a/src/SensitiveString.Examples/PersonDto.cs +++ b/src/Text.Privacy.SensitiveString.Examples/PersonDto.cs @@ -1,3 +1,3 @@ -namespace SensitiveString.Examples; +namespace Text.Privacy.SensitiveString.Examples; internal record PersonDto(string Name, SensitiveString PhoneNumber, SensitiveEmail Email); \ No newline at end of file diff --git a/src/SensitiveString.Examples/Program.cs b/src/Text.Privacy.SensitiveString.Examples/Program.cs similarity index 83% rename from src/SensitiveString.Examples/Program.cs rename to src/Text.Privacy.SensitiveString.Examples/Program.cs index 548436a..ae3a139 100644 --- a/src/SensitiveString.Examples/Program.cs +++ b/src/Text.Privacy.SensitiveString.Examples/Program.cs @@ -1,7 +1,7 @@ using System.Text.Json; -using SensitiveString; -using SensitiveString.Examples; -using SensitiveString.Json; +using Text.Privacy.SensitiveString; +using Text.Privacy.SensitiveString.Examples; +using Text.Privacy.SensitiveString.Json; var person = new PersonDto( "John Doe", diff --git a/src/SensitiveString.Examples/SensitiveString.Examples.csproj b/src/Text.Privacy.SensitiveString.Examples/Text.Privacy.SensitiveString.Examples.csproj similarity index 73% rename from src/SensitiveString.Examples/SensitiveString.Examples.csproj rename to src/Text.Privacy.SensitiveString.Examples/Text.Privacy.SensitiveString.Examples.csproj index 8c9e690..377660a 100644 --- a/src/SensitiveString.Examples/SensitiveString.Examples.csproj +++ b/src/Text.Privacy.SensitiveString.Examples/Text.Privacy.SensitiveString.Examples.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/SensitiveString.HotChocolate/SensitiveStringExtensions.cs b/src/Text.Privacy.SensitiveString.HotChocolate/SensitiveStringExtensions.cs similarity index 97% rename from src/SensitiveString.HotChocolate/SensitiveStringExtensions.cs rename to src/Text.Privacy.SensitiveString.HotChocolate/SensitiveStringExtensions.cs index 9bd322a..726abb3 100644 --- a/src/SensitiveString.HotChocolate/SensitiveStringExtensions.cs +++ b/src/Text.Privacy.SensitiveString.HotChocolate/SensitiveStringExtensions.cs @@ -4,7 +4,7 @@ using HotChocolate.Types; using Microsoft.Extensions.DependencyInjection; -namespace SensitiveString.HotChocolate; +namespace Text.Privacy.SensitiveString.HotChocolate; public static class SensitiveStringExtensions { diff --git a/src/SensitiveString.HotChocolate/SensitiveString.HotChocolate.csproj b/src/Text.Privacy.SensitiveString.HotChocolate/Text.Privacy.SensitiveString.HotChocolate.csproj similarity index 66% rename from src/SensitiveString.HotChocolate/SensitiveString.HotChocolate.csproj rename to src/Text.Privacy.SensitiveString.HotChocolate/Text.Privacy.SensitiveString.HotChocolate.csproj index e30c4ed..c909de5 100644 --- a/src/SensitiveString.HotChocolate/SensitiveString.HotChocolate.csproj +++ b/src/Text.Privacy.SensitiveString.HotChocolate/Text.Privacy.SensitiveString.HotChocolate.csproj @@ -4,6 +4,6 @@ - + \ No newline at end of file diff --git a/src/SensitiveString.Swagger/AspNetCoreOpenApiDocumentGeneratorSettingsExtensions.cs b/src/Text.Privacy.SensitiveString.Swagger/AspNetCoreOpenApiDocumentGeneratorSettingsExtensions.cs similarity index 94% rename from src/SensitiveString.Swagger/AspNetCoreOpenApiDocumentGeneratorSettingsExtensions.cs rename to src/Text.Privacy.SensitiveString.Swagger/AspNetCoreOpenApiDocumentGeneratorSettingsExtensions.cs index 85e4b4d..187f338 100644 --- a/src/SensitiveString.Swagger/AspNetCoreOpenApiDocumentGeneratorSettingsExtensions.cs +++ b/src/Text.Privacy.SensitiveString.Swagger/AspNetCoreOpenApiDocumentGeneratorSettingsExtensions.cs @@ -2,7 +2,7 @@ using NJsonSchema.Generation.TypeMappers; using NSwag.Generation.AspNetCore; -namespace SensitiveString.Swagger; +namespace Text.Privacy.SensitiveString.Swagger; public static class AspNetCoreOpenApiDocumentGeneratorSettingsExtensions { diff --git a/src/SensitiveString.Swagger/SensitiveString.Swagger.csproj b/src/Text.Privacy.SensitiveString.Swagger/Text.Privacy.SensitiveString.Swagger.csproj similarity index 61% rename from src/SensitiveString.Swagger/SensitiveString.Swagger.csproj rename to src/Text.Privacy.SensitiveString.Swagger/Text.Privacy.SensitiveString.Swagger.csproj index b53a415..bc8e4d6 100644 --- a/src/SensitiveString.Swagger/SensitiveString.Swagger.csproj +++ b/src/Text.Privacy.SensitiveString.Swagger/Text.Privacy.SensitiveString.Swagger.csproj @@ -3,6 +3,6 @@ - + \ No newline at end of file diff --git a/src/SensitiveString/Json/JsonSerializerOptionsExtensions.cs b/src/Text.Privacy.SensitiveString/Json/JsonSerializerOptionsExtensions.cs similarity index 92% rename from src/SensitiveString/Json/JsonSerializerOptionsExtensions.cs rename to src/Text.Privacy.SensitiveString/Json/JsonSerializerOptionsExtensions.cs index 3139401..c01b877 100644 --- a/src/SensitiveString/Json/JsonSerializerOptionsExtensions.cs +++ b/src/Text.Privacy.SensitiveString/Json/JsonSerializerOptionsExtensions.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace SensitiveString.Json; +namespace Text.Privacy.SensitiveString.Json; public static class JsonSerializerOptionsExtensions { diff --git a/src/SensitiveString/Json/SensitiveEmailJsonConverter.cs b/src/Text.Privacy.SensitiveString/Json/SensitiveEmailJsonConverter.cs similarity index 89% rename from src/SensitiveString/Json/SensitiveEmailJsonConverter.cs rename to src/Text.Privacy.SensitiveString/Json/SensitiveEmailJsonConverter.cs index 1dffc48..4f07a85 100644 --- a/src/SensitiveString/Json/SensitiveEmailJsonConverter.cs +++ b/src/Text.Privacy.SensitiveString/Json/SensitiveEmailJsonConverter.cs @@ -1,7 +1,6 @@ -using System; using System.Text.Json; -namespace SensitiveString.Json; +namespace Text.Privacy.SensitiveString.Json; /// /// Enables proper JSON conversion of the type. diff --git a/src/SensitiveString/Json/SensitiveStringJsonConverter.cs b/src/Text.Privacy.SensitiveString/Json/SensitiveStringJsonConverter.cs similarity index 95% rename from src/SensitiveString/Json/SensitiveStringJsonConverter.cs rename to src/Text.Privacy.SensitiveString/Json/SensitiveStringJsonConverter.cs index 93749a5..0a6429c 100644 --- a/src/SensitiveString/Json/SensitiveStringJsonConverter.cs +++ b/src/Text.Privacy.SensitiveString/Json/SensitiveStringJsonConverter.cs @@ -1,8 +1,7 @@ -using System; using System.Text.Json; using System.Text.Json.Serialization; -namespace SensitiveString.Json; +namespace Text.Privacy.SensitiveString.Json; public abstract class SensitiveStringJsonConverter : JsonConverter where TSensitiveString : SensitiveString diff --git a/src/SensitiveString/SensitiveEmail.cs b/src/Text.Privacy.SensitiveString/SensitiveEmail.cs similarity index 97% rename from src/SensitiveString/SensitiveEmail.cs rename to src/Text.Privacy.SensitiveString/SensitiveEmail.cs index 464a879..0c604f3 100644 --- a/src/SensitiveString/SensitiveEmail.cs +++ b/src/Text.Privacy.SensitiveString/SensitiveEmail.cs @@ -1,4 +1,4 @@ -namespace SensitiveString; +namespace Text.Privacy.SensitiveString; /// /// Encloses a string value in an object to protect it from being written to logs or serialized unintentionally. Provides custom diff --git a/src/SensitiveString/SensitiveString.Comparability.cs b/src/Text.Privacy.SensitiveString/SensitiveString.Comparability.cs similarity index 90% rename from src/SensitiveString/SensitiveString.Comparability.cs rename to src/Text.Privacy.SensitiveString/SensitiveString.Comparability.cs index a1056f2..6d6eb07 100644 --- a/src/SensitiveString/SensitiveString.Comparability.cs +++ b/src/Text.Privacy.SensitiveString/SensitiveString.Comparability.cs @@ -1,4 +1,4 @@ -namespace SensitiveString; +namespace Text.Privacy.SensitiveString; public partial class SensitiveString : IComparable, IComparable { diff --git a/src/SensitiveString/SensitiveString.Equality.cs b/src/Text.Privacy.SensitiveString/SensitiveString.Equality.cs similarity index 98% rename from src/SensitiveString/SensitiveString.Equality.cs rename to src/Text.Privacy.SensitiveString/SensitiveString.Equality.cs index 6b945c9..ed3f48f 100644 --- a/src/SensitiveString/SensitiveString.Equality.cs +++ b/src/Text.Privacy.SensitiveString/SensitiveString.Equality.cs @@ -1,4 +1,4 @@ -namespace SensitiveString; +namespace Text.Privacy.SensitiveString; public partial class SensitiveString : IEquatable { diff --git a/src/SensitiveString/SensitiveString.cs b/src/Text.Privacy.SensitiveString/SensitiveString.cs similarity index 98% rename from src/SensitiveString/SensitiveString.cs rename to src/Text.Privacy.SensitiveString/SensitiveString.cs index fac80e4..98d5606 100644 --- a/src/SensitiveString/SensitiveString.cs +++ b/src/Text.Privacy.SensitiveString/SensitiveString.cs @@ -1,6 +1,6 @@ using System.Diagnostics.Contracts; -namespace SensitiveString; +namespace Text.Privacy.SensitiveString; /// /// Encloses a string value in an object to protect it from being written to logs or serialized unintentionally. diff --git a/src/SensitiveString/SensitiveStringExtension.cs b/src/Text.Privacy.SensitiveString/SensitiveStringExtension.cs similarity index 94% rename from src/SensitiveString/SensitiveStringExtension.cs rename to src/Text.Privacy.SensitiveString/SensitiveStringExtension.cs index c903d6c..30977ef 100644 --- a/src/SensitiveString/SensitiveStringExtension.cs +++ b/src/Text.Privacy.SensitiveString/SensitiveStringExtension.cs @@ -1,6 +1,6 @@ using System.Diagnostics.Contracts; -namespace SensitiveString; +namespace Text.Privacy.SensitiveString; public static class SensitiveStringExtension { diff --git a/src/SensitiveString/SensitiveString.csproj b/src/Text.Privacy.SensitiveString/Text.Privacy.SensitiveString.csproj similarity index 100% rename from src/SensitiveString/SensitiveString.csproj rename to src/Text.Privacy.SensitiveString/Text.Privacy.SensitiveString.csproj diff --git a/test/SensitiveString.Tests/GlobalUsings.cs b/test/Text.Privacy.SensitiveString.Tests/GlobalUsings.cs similarity index 100% rename from test/SensitiveString.Tests/GlobalUsings.cs rename to test/Text.Privacy.SensitiveString.Tests/GlobalUsings.cs diff --git a/test/SensitiveString.Tests/SensitiveEmailTest.cs b/test/Text.Privacy.SensitiveString.Tests/SensitiveEmailTest.cs similarity index 91% rename from test/SensitiveString.Tests/SensitiveEmailTest.cs rename to test/Text.Privacy.SensitiveString.Tests/SensitiveEmailTest.cs index c526308..bc8f0f5 100644 --- a/test/SensitiveString.Tests/SensitiveEmailTest.cs +++ b/test/Text.Privacy.SensitiveString.Tests/SensitiveEmailTest.cs @@ -1,4 +1,4 @@ -namespace SensitiveString.Tests; +namespace Text.Privacy.SensitiveString.Tests; public class SensitiveEmailTest { diff --git a/test/SensitiveString.Tests/SensitiveStringSerializationTest.cs b/test/Text.Privacy.SensitiveString.Tests/SensitiveStringSerializationTest.cs similarity index 95% rename from test/SensitiveString.Tests/SensitiveStringSerializationTest.cs rename to test/Text.Privacy.SensitiveString.Tests/SensitiveStringSerializationTest.cs index a8348ae..da2ef2d 100644 --- a/test/SensitiveString.Tests/SensitiveStringSerializationTest.cs +++ b/test/Text.Privacy.SensitiveString.Tests/SensitiveStringSerializationTest.cs @@ -1,8 +1,8 @@ -using SensitiveString.Json; +using Text.Privacy.SensitiveString.Json; using MicrosoftSerialization = System.Text.Json; using NewtonsoftSerialization = Newtonsoft.Json; -namespace SensitiveString.Tests; +namespace Text.Privacy.SensitiveString.Tests; public class SensitiveStringSerializationTest { diff --git a/test/SensitiveString.Tests/SensitiveStringTest.cs b/test/Text.Privacy.SensitiveString.Tests/SensitiveStringTest.cs similarity index 99% rename from test/SensitiveString.Tests/SensitiveStringTest.cs rename to test/Text.Privacy.SensitiveString.Tests/SensitiveStringTest.cs index 1c1f97d..4a6a202 100644 --- a/test/SensitiveString.Tests/SensitiveStringTest.cs +++ b/test/Text.Privacy.SensitiveString.Tests/SensitiveStringTest.cs @@ -1,6 +1,6 @@ using System.Reflection; -namespace SensitiveString.Tests; +namespace Text.Privacy.SensitiveString.Tests; public class SensitiveStringTest { diff --git a/test/SensitiveString.Tests/SensitiveString.Tests.csproj b/test/Text.Privacy.SensitiveString.Tests/Text.Privacy.SensitiveString.Tests.csproj similarity index 88% rename from test/SensitiveString.Tests/SensitiveString.Tests.csproj rename to test/Text.Privacy.SensitiveString.Tests/Text.Privacy.SensitiveString.Tests.csproj index b69e1e2..ca19b1d 100644 --- a/test/SensitiveString.Tests/SensitiveString.Tests.csproj +++ b/test/Text.Privacy.SensitiveString.Tests/Text.Privacy.SensitiveString.Tests.csproj @@ -21,7 +21,7 @@ - +