C# Class FullInspector.InspectorOrderAttribute

Inheritance: System.Attribute
Mostra file Open project: jacobdufault/fullinspector Class Usage Examples

Public Properties

Property Type Description
Order double

Public Methods

Method 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 method

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
return double

InspectorOrderAttribute() public method

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. ///
return System

Property Details

Order public_oe property

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