mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
75efa67b617889f7a1817e57b2f310a74454174a

First pass is "probing": any loader who thinks it can load a given extension returns a descriptor for it. The descriptor contains information about how old the extension is. The extension manager sorts the descriptor list return by probing all loaders, and picks the most recent entry. During the 2nd pass, each loader is called again, with the candidate extension entry as argument. This allows each loader to be notified that, if they don't load an extension, they might still need to cleanup some state related to previous loading. In essence, this is implementing a complete state machine of loaders and extension "active/inactive" states/transitions. --HG-- branch : dev
Description
About
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
orchardproject.net
Languages
C#
43.9%
JavaScript
43.7%
HTML
5.5%
CSS
2.4%
Less
1.5%
Other
2.9%