ProjectDDD/Packages/SLSystem/ComponentOrderAttribute.cs

19 lines
436 B
C#
Raw Normal View History

using System;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class ComponentOrderAttribute : Attribute
{
public int order;
public string methodOverride;
public ComponentOrderAttribute(int order)
{
this.order = order;
}
public ComponentOrderAttribute(string methodOverride, int order)
{
this.order = order;
this.methodOverride = methodOverride;
}
}