2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 13:33:13 +00:00
This commit is contained in:
2024-12-07 02:56:49 +03:00
parent ebc80b08cf
commit 07561062ca
5 changed files with 37 additions and 37 deletions

View File

@ -10,7 +10,6 @@ namespace Esiur.Resource;
public class ExportAttribute : Attribute
{
public string Name { get; private set; } = null;
public Type ReturnType { get; private set; } = null;
public ExportAttribute()
{
@ -22,16 +21,4 @@ public class ExportAttribute : Attribute
Name = name;
}
public ExportAttribute(Type returnType)
{
ReturnType = returnType;
}
public ExportAttribute(string name, Type returnType)
{
Name = name;
ReturnType = returnType;
}
}