Class WeightAttribute
Specifies the weight of pretty much anything.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Composing
Assembly: Umbraco.Core.dll
Syntax
public class WeightAttribute : Attribute
Constructors
View SourceWeightAttribute(Int32)
Initializes a new instance of the Weight
Declaration
public WeightAttribute(int weight)
Parameters
Type | Name | Description |
---|---|---|
System. |
weight |
Properties
View SourceWeight
Gets the weight value.
Declaration
public int Weight { get; }
Property Value
Type | Description |
---|---|
System. |