From c91ea248d19e9cc6e810825a947448aa297cb7e5 Mon Sep 17 00:00:00 2001 From: FogyX <93732719+FogyX@users.noreply.github.com> Date: Wed, 13 Sep 2023 12:36:45 +0600 Subject: [PATCH] Update register-type.mdx Fixed some typos --- website/docs/registering/register-type.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/registering/register-type.mdx b/website/docs/registering/register-type.mdx index 74a3cdd0..21ba9a03 100644 --- a/website/docs/registering/register-type.mdx +++ b/website/docs/registering/register-type.mdx @@ -102,9 +102,9 @@ class ClassB public ClassB(IInputPort inputPort) { /* ... */ } } -class ClassB +class ClassC { - public ClassB(ServiceA serviceA) { /* ... */ } + public ClassC(ServiceA serviceA) { /* ... */ } } ``` @@ -201,7 +201,7 @@ builder.RegisterInstance(serviceA); builder.RegisterInstance(serviceA) .As(); -builder.RegisterInstance() +builder.RegisterInstance(serviceA) .AsImplementedInterfaces(); ```