Get content information by using pageroutehelper

Vote:
 

I'm doing a plugin by implement IClientResourceRegist. However I need to know if module been called by cms page or commerce page. Is it correct to use PageRouteHelper and check if content is there and if we can cast content to i.e. EntryContentBase?

Thanks

#85361
Apr 23, 2014 17:02