using System; namespace Kreta.Framework.Entities { /// /// Entitást jelző attribútum. /// [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] public sealed class EntityAttribute : Attribute { private string m_Name; /// /// Az attribútum konstruktora. /// /// Az entitás neve public EntityAttribute(string name) { m_Name = name; } /// /// Az entitás neve. /// public string Name { get { return m_Name; } } } }