23 lines
475 B
C#
23 lines
475 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace YY.Admin.Core
|
|
{
|
|
/// <summary>
|
|
/// 常量特性
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = true)]
|
|
public class ConstAttribute : Attribute
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public ConstAttribute(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
}
|
|
}
|