Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RouteAddonEventArgs has the following properties:

ItemId (int)The ID of the item being routed.
Handled (boolean)whether or not custom routing has been handled for this item. An addon should first check this property to see if another addon has already performed custom routing. If this is false and an addon routes this item, it should set this argument property to true so that other addons know it has already been processed.
CurrentStatus (string)The status of the item after its initial route, before it was passed on to the addon system.

DataContext

ItemAn Item object representing the item being routed.
CourseA Course object representing the course the item belongs to.
Instructor

A User object representing the instructor of the course.

As of Ares v5.0, the instructor user object is no longer accessible to addons. Addon's can still read (but not write) the Instructor and InstructorDisplayName fields for the courses. 

Item Processes

Argument: ItemProcessedEventArgs

...

ItemProcessedEventArgs has the following property:

Item (Item)The Item being processed.

DataContext

None