From b89b3757eb4837c34405518d4e43b6cdbf532eff Mon Sep 17 00:00:00 2001 From: Filip Strajnar Date: Sat, 11 May 2024 12:48:50 +0200 Subject: [PATCH] Added project and unit test for reflection related operations. --- AioNet.Reflection/AioNet.Reflection.csproj | 7 +++++ AioNet.Reflection/DeepComparison.cs | 4 +++ .../AioNet.ReflectionTest.csproj | 29 +++++++++++++++++++ AioNet.ReflectionTest/GlobalUsings.cs | 1 + AioNet.sln | 12 ++++++++ 5 files changed, 53 insertions(+) create mode 100644 AioNet.Reflection/AioNet.Reflection.csproj create mode 100644 AioNet.Reflection/DeepComparison.cs create mode 100644 AioNet.ReflectionTest/AioNet.ReflectionTest.csproj create mode 100644 AioNet.ReflectionTest/GlobalUsings.cs diff --git a/AioNet.Reflection/AioNet.Reflection.csproj b/AioNet.Reflection/AioNet.Reflection.csproj new file mode 100644 index 0000000..dbdcea4 --- /dev/null +++ b/AioNet.Reflection/AioNet.Reflection.csproj @@ -0,0 +1,7 @@ + + + + netstandard2.0 + + + diff --git a/AioNet.Reflection/DeepComparison.cs b/AioNet.Reflection/DeepComparison.cs new file mode 100644 index 0000000..85a8cd1 --- /dev/null +++ b/AioNet.Reflection/DeepComparison.cs @@ -0,0 +1,4 @@ +namespace AioNet.Reflection +{ + public class DeepComparison { } +} diff --git a/AioNet.ReflectionTest/AioNet.ReflectionTest.csproj b/AioNet.ReflectionTest/AioNet.ReflectionTest.csproj new file mode 100644 index 0000000..6bceb6e --- /dev/null +++ b/AioNet.ReflectionTest/AioNet.ReflectionTest.csproj @@ -0,0 +1,29 @@ + + + + net8.0 + enable + enable + + false + true + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + diff --git a/AioNet.ReflectionTest/GlobalUsings.cs b/AioNet.ReflectionTest/GlobalUsings.cs new file mode 100644 index 0000000..c802f44 --- /dev/null +++ b/AioNet.ReflectionTest/GlobalUsings.cs @@ -0,0 +1 @@ +global using Xunit; diff --git a/AioNet.sln b/AioNet.sln index da41755..c5bdfc3 100644 --- a/AioNet.sln +++ b/AioNet.sln @@ -7,6 +7,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AioNet.Linq", "AioNet.Linq\ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AioNet.LinqTest", "AioNet.LinqTest\AioNet.LinqTest.csproj", "{30BEA554-220B-4A76-99AC-05E482EE18D9}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AioNet.Reflection", "AioNet.Reflection\AioNet.Reflection.csproj", "{4E27503E-0780-4ADB-9089-D8EC15C5977B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AioNet.ReflectionTest", "AioNet.ReflectionTest\AioNet.ReflectionTest.csproj", "{BEC678AE-28D8-46D7-B9D4-A6C65F2EA1D2}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -24,5 +28,13 @@ Global {30BEA554-220B-4A76-99AC-05E482EE18D9}.Debug|Any CPU.Build.0 = Debug|Any CPU {30BEA554-220B-4A76-99AC-05E482EE18D9}.Release|Any CPU.ActiveCfg = Release|Any CPU {30BEA554-220B-4A76-99AC-05E482EE18D9}.Release|Any CPU.Build.0 = Release|Any CPU + {4E27503E-0780-4ADB-9089-D8EC15C5977B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4E27503E-0780-4ADB-9089-D8EC15C5977B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4E27503E-0780-4ADB-9089-D8EC15C5977B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4E27503E-0780-4ADB-9089-D8EC15C5977B}.Release|Any CPU.Build.0 = Release|Any CPU + {BEC678AE-28D8-46D7-B9D4-A6C65F2EA1D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BEC678AE-28D8-46D7-B9D4-A6C65F2EA1D2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BEC678AE-28D8-46D7-B9D4-A6C65F2EA1D2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BEC678AE-28D8-46D7-B9D4-A6C65F2EA1D2}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal