C# Class FullInspector.InspectorOrderAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: jacobdufault/fullinspector Class Usage Examples

Méthodes publiques

Свойство Type Description
Order double

Méthodes publiques

Méthode Description
GetInspectorOrder ( MemberInfo memberInfo ) : double

Helper method to determine the inspector order for the given member. If the member does not have an [InspectorOrder] attribute, then the default order is returned.

InspectorOrderAttribute ( double order ) : System

Set the order.

Method Details

GetInspectorOrder() public static méthode

Helper method to determine the inspector order for the given member. If the member does not have an [InspectorOrder] attribute, then the default order is returned.
public static GetInspectorOrder ( MemberInfo memberInfo ) : double
memberInfo System.Reflection.MemberInfo
Résultat double

InspectorOrderAttribute() public méthode

Set the order.
public InspectorOrderAttribute ( double order ) : System
order double /// The order in which to display this field or property. A field or /// property without an [InspectorOrder] attribute defaults to order /// double.MaxValue. ///
Résultat System

Property Details

Order public_oe property

The ordering of this member relative to other ordered fields/properties.
public double Order
Résultat double