Update src/Umbraco.Core/Extensions/UmbracoBuilderExtensions.cs
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
649d7fd829
commit
0d7c6e4128
@@ -87,7 +87,9 @@ namespace Umbraco.Cms.Core.Extensions
|
||||
foreach (var it in interfaceTypes)
|
||||
{
|
||||
if (it.IsGenericType && it.GetGenericTypeDefinition() == genericType)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (givenType.IsGenericType && givenType.GetGenericTypeDefinition() == genericType)
|
||||
|
||||
Reference in New Issue
Block a user