EventBus / EventHandler usage

Oct 12, 2010 at 5:38 PM

Hello,

Need help here.

I have IFulfillmentProcessHandler which implements IEventHandler. I have multiple implementations of IFullfillmentProcessHandler (like Supplier1FullfillmentProcessHandler, Supplier2FullfillmentProcessHandler, etc as each supplier has different process for fulfilling order) and I need to dynamically select the correct implementation and execute it.

Any suggestion how I can implement this in Orchard?

Thanks & Regards,

Ajay 

Coordinator
Oct 12, 2010 at 8:58 PM

Either you need different sub interfaces, or you have to add a Category {get; set;} property to your interface, so that you can recognize a specific provider.