using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Campofinale.Resource { public abstract class TableCfgResource { /// /// Not implemented yet /// public void OnLoad() { } } [AttributeUsage(AttributeTargets.Class, Inherited = false)] public class TableCfgTypeAttribute : Attribute { /// /// Path of the Resource /// public string Name { get; } /// /// Priority of load (still not implemented) /// public LoadPriority Priority { get; } public TableCfgTypeAttribute(string name, LoadPriority priority) { Name = name; Priority = priority; } } public enum LoadPriority { HIGH, MEDIUM, LOW } }