Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Http/Routing/test/UnitTests/TestObjects/TestServiceProvider.cs')
-rw-r--r--src/Http/Routing/test/UnitTests/TestObjects/TestServiceProvider.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/Http/Routing/test/UnitTests/TestObjects/TestServiceProvider.cs b/src/Http/Routing/test/UnitTests/TestObjects/TestServiceProvider.cs
index 95a82088d9..279bf80b66 100644
--- a/src/Http/Routing/test/UnitTests/TestObjects/TestServiceProvider.cs
+++ b/src/Http/Routing/test/UnitTests/TestObjects/TestServiceProvider.cs
@@ -3,13 +3,12 @@
using System;
-namespace Microsoft.AspNetCore.Routing.TestObjects
+namespace Microsoft.AspNetCore.Routing.TestObjects;
+
+internal class TestServiceProvider : IServiceProvider
{
- internal class TestServiceProvider : IServiceProvider
+ public object GetService(Type serviceType)
{
- public object GetService(Type serviceType)
- {
- throw new NotImplementedException();
- }
+ throw new NotImplementedException();
}
-} \ No newline at end of file
+}