From e180602be318618c619cf981553ecb0bb64bee48 Mon Sep 17 00:00:00 2001 From: MrDave1999 Date: Tue, 19 Dec 2023 12:16:19 -0500 Subject: [PATCH] docs: Add comment on why the private method was created --- src/Core/TypeFinder.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Core/TypeFinder.cs b/src/Core/TypeFinder.cs index 6ae266f..e6864fd 100644 --- a/src/Core/TypeFinder.cs +++ b/src/Core/TypeFinder.cs @@ -45,6 +45,8 @@ internal static IEnumerable FindSubtypesOf(IEnumerable(assemblies); } + // The logic of this method needs to be separate to ensure + // that the validations of FindSubtypesOf are executed immediately. private static IEnumerable GetSubtypesOf(IEnumerable assemblies) where TSupertype : class {