Skip to main content

ShutdownOrderComparer

A class in Root.Township, the global namespace.

Sorts ApplicationQuit handlers by the ApplicationShutdownOrderAttribute on their declaring type. ApplicationManager uses it when shutting down.

Constructors​

MemberWhat it is
ShutdownOrderComparer()Creates a ShutdownOrderComparer with default values.

Methods​

MemberWhat it is
int Compare(Delegate x, Delegate y)Compares two delegates by the shutdown order of the types that declare them.