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(); ```