2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00

ResourceProxy

This commit is contained in:
2019-07-24 02:52:03 +03:00
parent a2f4238933
commit 2caae61910
10 changed files with 63 additions and 61 deletions

View File

@ -7,6 +7,7 @@ using Esiur.Misc;
using Esiur.Data;
using Esiur.Engine;
using System.Security.Cryptography;
using Esiur.Proxy;
namespace Esiur.Resource.Template
{
@ -127,8 +128,7 @@ namespace Esiur.Resource.Template
public ResourceTemplate(Type type)
{
if (type.Namespace.Contains("Esiur.Proxy.T"))
type = type.GetTypeInfo().BaseType;
type = ResourceProxy.GetBaseType(type);
// set guid