using System; using System.Collections.Generic; using System.Text; namespace ReZero.SuperAPI { /// /// Represents an attribute for Chinese text. /// [AttributeUsage(AttributeTargets.All)] public class ChineseTextAttribute : Attribute { /// /// Initializes a new instance of the class with the specified text. /// /// The Chinese text. public ChineseTextAttribute(string text) { this.Text = text; } /// /// Gets or sets the Chinese text. /// public string? Text { get; set; } } /// /// Represents an attribute for English text. /// [AttributeUsage(AttributeTargets.All)] public class EnglishTextAttribute : Attribute { /// /// Initializes a new instance of the class with the specified text. /// /// The English text. public EnglishTextAttribute(string text) { this.Text = text; } /// /// Gets or sets the English text. /// public string? Text { get; set; } } [AttributeUsage(AttributeTargets.All)] public class TextGroupAttribute : Attribute { public string? cnText { get; set; } public string? enText { get; set; } public TextGroupAttribute(string cnText,string enText) { this.cnText = cnText; this.enText = cnText; } } }