[+] Add some interfaces for attributes

This commit is contained in:
Clansty
2024-11-26 00:03:35 +08:00
parent 0ec048ceba
commit 792dce6843
9 changed files with 38 additions and 9 deletions

View File

@@ -1,8 +1,9 @@
using System;
using AquaMai.Config.Interfaces;
namespace AquaMai.Config.Attributes;
public record ConfigComment(string CommentEn, string CommentZh)
public record ConfigComment(string CommentEn, string CommentZh) : IConfigComment
{
public string GetLocalized(string lang) => lang switch
{