diff --git a/InjectorTest/HelperTest.cs b/InjectorTest/HelperTest.cs
deleted file mode 100644
index 8b7d026..0000000
--- a/InjectorTest/HelperTest.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using SmallInjectorDemo;
-using Xunit;
-
-namespace InjectorTest
-{
- public class HelperTest
- {
- [Fact]
- public void Test()
- {
- const string expected = "[-] HelperTest.Test Id: ";
- var actual = Helper.WriteMethodString(new TestClock(), "");
- Assert.Equal(expected, actual);
- }
- }
-}
diff --git a/InjectorTest/InjectorTest.csproj b/InjectorTest/InjectorTest.csproj
deleted file mode 100644
index db6d839..0000000
--- a/InjectorTest/InjectorTest.csproj
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
- netcoreapp2.1
-
- false
-
- 7.1
-
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
-
-
-
-
-
-
diff --git a/InjectorTest/TestClock.cs b/InjectorTest/TestClock.cs
deleted file mode 100644
index 27756e4..0000000
--- a/InjectorTest/TestClock.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using SmallInjectorDemo;
-
-namespace InjectorTest
-{
- public class TestClock : IClock
- {
- public string CurrentDateTime => "-";
- }
-}
\ No newline at end of file
diff --git a/SmallInjectorDemo.sln b/SmallInjectorDemo.sln
index 2615959..53d21c9 100644
--- a/SmallInjectorDemo.sln
+++ b/SmallInjectorDemo.sln
@@ -1,13 +1,11 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.26124.0
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29123.88
MinimumVisualStudioVersion = 15.0.26124.0
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SmallInjectorDemo", "SmallInjectorDemo\SmallInjectorDemo.csproj", "{620CC001-7DF9-4233-AFC2-187FD9144835}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InjectorTest", "InjectorTest\InjectorTest.csproj", "{0648782E-EB73-4326-9471-CE386C1FBC4D}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmallInjector", "SmallInjector\SmallInjector.csproj", "{8D52C856-A71D-4C50-832B-8679CDD030B4}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SmallInjector", "SmallInjector\SmallInjector.csproj", "{8D52C856-A71D-4C50-832B-8679CDD030B4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -31,18 +29,6 @@ Global
{620CC001-7DF9-4233-AFC2-187FD9144835}.Release|x64.Build.0 = Release|Any CPU
{620CC001-7DF9-4233-AFC2-187FD9144835}.Release|x86.ActiveCfg = Release|Any CPU
{620CC001-7DF9-4233-AFC2-187FD9144835}.Release|x86.Build.0 = Release|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Debug|x64.ActiveCfg = Debug|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Debug|x64.Build.0 = Debug|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Debug|x86.ActiveCfg = Debug|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Debug|x86.Build.0 = Debug|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Release|Any CPU.Build.0 = Release|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Release|x64.ActiveCfg = Release|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Release|x64.Build.0 = Release|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Release|x86.ActiveCfg = Release|Any CPU
- {0648782E-EB73-4326-9471-CE386C1FBC4D}.Release|x86.Build.0 = Release|Any CPU
{8D52C856-A71D-4C50-832B-8679CDD030B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8D52C856-A71D-4C50-832B-8679CDD030B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8D52C856-A71D-4C50-832B-8679CDD030B4}.Debug|x64.ActiveCfg = Debug|Any CPU
diff --git a/SmallInjectorDemo/Program.cs b/SmallInjectorDemo/Program.cs
index cc24aec..650ae1d 100644
--- a/SmallInjectorDemo/Program.cs
+++ b/SmallInjectorDemo/Program.cs
@@ -19,6 +19,13 @@ namespace SmallInjectorDemo
Console.WriteLine("Register " + nameof(ServiceConsumer));
container.RegisterType(false);
+ Console.WriteLine();
+ Console.WriteLine("Check registrations:");
+ Console.WriteLine(nameof(IClock).PadRight(20) + container.IsRegistered());
+ Console.WriteLine(nameof(IServiceOne).PadRight(20) + container.IsRegistered());
+ Console.WriteLine(nameof(IServiceTwo).PadRight(20) + container.IsRegistered());
+ Console.WriteLine(nameof(ServiceConsumer).PadRight(20) + container.IsRegistered());
+
Console.WriteLine();
Console.WriteLine("Resolve class instances:");
var useful1 = container.Resolve();