public string GetClientSpecificResource(Controller controller, string resourceKey)
{
try
{
string pluginNamespace = "Atomia.Web.Plugin.";
string theme = controller.Session["Theme"].ToString();
string methodName = "GetClientSpecificResource";
List<object> methodParameters = new List<object> { controller, resourceKey };
string defaultPluginNamespace = "Atomia.Web.Plugin.Default";
return (string)ReflectMethod(pluginNamespace, theme, methodName, methodParameters, defaultPluginNamespace);
}
catch (Exception ex)
{
OrderPageLogger.LogOrderPageException(ex);
throw;
}
}