Interfaces

This commit is contained in:
ahmed committed 2024-11-11 17:26:15 +03:00
1 parent 44943b23b0
commit 0c335c6023
6 files changed
+24 -1

No files matched your search

+3
View File
@@ -765,6 +765,9 @@ public static class Warehouse
/// <returns>Resource template.</returns>
public static TypeTemplate GetTemplateByType(Type type)
{
if (!(type.IsClass || type.IsEnum))
return null;
var baseType = ResourceProxy.GetBaseType(type);
if (baseType == typeof(IResource)