using System; namespace Umbraco.Core.Composing { /// /// Specifies the weight of pretty much anything. /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] public class WeightAttribute : Attribute { /// /// Initializes a new instance of the class with a weight. /// /// public WeightAttribute(int weight) { Weight = weight; } /// /// Gets the weight value. /// public int Weight { get; } } }