mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-09 17:37:27 +08:00
[+] Generate example config via attributes
This commit is contained in:
10
AquaMai/Attributes/ConfigCommentAttribute.cs
Normal file
10
AquaMai/Attributes/ConfigCommentAttribute.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace AquaMai.Attributes;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Property)]
|
||||
public class ConfigCommentAttribute(string en = null, string zh = null) : Attribute
|
||||
{
|
||||
public string CommentEn { get; } = en;
|
||||
public string CommentZh { get; } = zh;
|
||||
}
|
||||
Reference in New Issue
Block a user