mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 11:32:59 +00:00
25 lines
507 B
C#
25 lines
507 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Xml.Linq;
|
|
|
|
namespace Esiur.Resource;
|
|
|
|
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Event | AttributeTargets.Class | AttributeTargets.Enum)]
|
|
|
|
public class ExportAttribute : Attribute
|
|
{
|
|
public string Name { get; private set; } = null;
|
|
|
|
public ExportAttribute()
|
|
{
|
|
|
|
}
|
|
|
|
public ExportAttribute(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
}
|