using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeanCloud { /// /// Defines the class name for a subclass of AVObject. /// [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] public sealed class AVClassNameAttribute : Attribute { /// /// Constructs a new AVClassName attribute. /// /// The class name to associate with the AVObject subclass. public AVClassNameAttribute(string className) { this.ClassName = className; } /// /// Gets the class name to associate with the AVObject subclass. /// public string ClassName { get; private set; } } }