2024-10-20 12:10:57 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Serein.Library
|
|
|
|
|
|
{
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
|
|
|
|
|
|
internal sealed class AutoPropertyAttribute : Attribute
|
|
|
|
|
|
{
|
|
|
|
|
|
public string ValuePath = string.Empty;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 自动生成环境的属性
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Field, Inherited = true)]
|
|
|
|
|
|
internal sealed class PropertyInfoAttribute : Attribute
|
|
|
|
|
|
{
|
|
|
|
|
|
public bool IsNotification = false;
|
|
|
|
|
|
public bool IsPrint = false;
|
2024-10-20 21:59:42 +08:00
|
|
|
|
public bool IsProtection = false;
|
2024-10-20 12:10:57 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|