Code52 / pretzel

A site generation tool (and then some) for .NET platforms
http://code52.org/pretzel/
Microsoft Public License
598 stars 163 forks source link

Use System.Composition.Convention to simplify plugin development & maintainance #353

Open biohazard999 opened 4 years ago

biohazard999 commented 4 years ago

To support plugin developers and reduce maintainance use System.Composition.Convention for some parts of the application (where it makes sense)

relates #347

laedit commented 4 years ago

Thanks, you are the best! I will review it as soon as I can. EDIT: sorry, I am very tired, I thought that it was already the PR.

laedit commented 4 years ago

Just to define the perimeter more precisely, if possible I want to handle all exports through conventions, in order to really simplify all extensibility.

biohazard999 commented 4 years ago

We can for sure get rid of most Exports but we need at least a little bit of metadata and for Imports/OnSatisfyImports I'm not sure, at least interfaces or match the PropertyTypes. But that can be tricky I guess.