Summer.Batch.Common.Util.OrderHelper Class Reference

Order Helper; needed to check for Attribute being set. More...

Static Public Member Functions

static Order GetOrderFromAttribute (object obj)
 Gets the order from an object. More...
 
static bool IsOrdered (object obj)
 Checks if Order has been set on the type of an object. More...
 

Detailed Description

Order Helper; needed to check for Attribute being set.

Member Function Documentation

static Order Summer.Batch.Common.Util.OrderHelper.GetOrderFromAttribute ( object  obj)
static

Gets the order from an object.

Parameters
objThe object to get the order from.
Returns
The Order of obj , or null if it has no order.
static bool Summer.Batch.Common.Util.OrderHelper.IsOrdered ( object  obj)
static

Checks if Order has been set on the type of an object.

Parameters
objThe object to check.
Returns
true if the type of obj has an Order attribute, falseotherwise.

The documentation for this class was generated from the following file:
  • Summer.Batch.Common/Util/OrderHelper.cs