From a80055cb7876b229b72fe9923c7046327e07d996 Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 25 Dec 2023 13:17:59 +0800 Subject: [PATCH] Make `Constructor` as `protected`. --- docs/en/Tutorials/Part-10.md | 2 +- docs/en/Tutorials/Part-4.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/Tutorials/Part-10.md b/docs/en/Tutorials/Part-10.md index bc1591fc60..d06cea6b6e 100644 --- a/docs/en/Tutorials/Part-10.md +++ b/docs/en/Tutorials/Part-10.md @@ -626,7 +626,7 @@ public abstract class BookAppService_Tests : BookStoreApplicatio private readonly IBookAppService _bookAppService; private readonly IAuthorAppService _authorAppService; - public BookAppService_Tests() + protected BookAppService_Tests() { _bookAppService = GetRequiredService(); _authorAppService = GetRequiredService(); diff --git a/docs/en/Tutorials/Part-4.md b/docs/en/Tutorials/Part-4.md index d229cfabdd..c97bce6bd7 100644 --- a/docs/en/Tutorials/Part-4.md +++ b/docs/en/Tutorials/Part-4.md @@ -93,7 +93,7 @@ public abstract class BookAppService_Tests : BookStoreApplicatio { private readonly IBookAppService _bookAppService; - public BookAppService_Tests() + protected BookAppService_Tests() { _bookAppService = GetRequiredService(); } @@ -219,7 +219,7 @@ public abstract class BookAppService_Tests : BookStoreApplicatio { private readonly IBookAppService _bookAppService; - public BookAppService_Tests() + protected BookAppService_Tests() { _bookAppService = GetRequiredService(); }