mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-01-27 01:20:39 +00:00
templates
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Linq;
|
||||
using static Esiur.Resource.Template.PropertyTemplate;
|
||||
|
||||
namespace Esiur.Resource;
|
||||
|
||||
@@ -10,6 +11,7 @@ namespace Esiur.Resource;
|
||||
public class ExportAttribute : Attribute
|
||||
{
|
||||
public string Name { get; private set; } = null;
|
||||
public PropertyPermission? Permission { get; private set; }
|
||||
|
||||
public ExportAttribute()
|
||||
{
|
||||
@@ -21,4 +23,17 @@ public class ExportAttribute : Attribute
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public ExportAttribute(PropertyPermission permission)
|
||||
{
|
||||
Permission = permission;
|
||||
}
|
||||
|
||||
public ExportAttribute(string name, PropertyPermission permission)
|
||||
{
|
||||
Name = name;
|
||||
Permission = permission;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user