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