using System; namespace XNode { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public class NodeWidthAttribute : Attribute { public int width; /// Specify a width for this node type /// Width public NodeWidthAttribute(int width) { this.width = width; } } }