forked from Cookies_Github_mirror/AquaDX
[+] 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