Implement partial methods across multiple assemblies
<p>In one of the applications I am working on, there are two basic functionalities included: Create and Update.</p>

<p>However, there is a need sometimes to add custom code, so I thought of extending the code by allowing 3rd parties to write and embed their own code:</p>

<p>OnCreating
OnCreated
OnUpdating
OnUpdated</p>

<p>Is there a way to enable the above across multiple assemblies? MEF might help here?</p>

<p>Thank you
Regards</p>

<hr>

<p>Thanks all for your replies.</p>

<p>Having such an interface means each external assembly has to implement that interface as needed. Then, my application's code, needs to loop through the currently running assemblies, detect all classes implementing that interface, and run their methods?</p>

<p>Does MEF fit here? I can export the implementation from external assemblies and import them inside my app?</p>

<p>Thank you
Regards</p>
