mono / mono-addins

Mono.Addins is a generic framework for creating extensible applications, and for creating add-ins which extend those applications.
MIT License
164 stars 93 forks source link

Delay add-in assembly load by lazy creating objects #184

Closed slluis closed 2 years ago

slluis commented 2 years ago

Delay the lookup of condition and localizer types until the objects are actually going to be used. Also avoid loading types for type based extension points. Types were loaded to map them to corresponding extension paths, but the mapping can be done using the type name instead of the actual type instance.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1528125 Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1528141 FIxes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1528129