protected string GetBodyFooter() { IHTMLManager htmlManager = HTMLManagerLoader.GetHTMLManager(); if (htmlManager != null) { return(htmlManager.GetBodyFooter()); } return(null); }
public static IHTMLManager GetHTMLManager() { if (s_loaded) { return s_htmlManager; } else { string typeName = ConfigurationManager.AppSettings["HTMLManagerType"]; s_loaded = true; if (typeName == null) return null; s_htmlManager = (IHTMLManager)Activator.CreateInstance(Type.GetType(typeName)); return s_htmlManager; } }
public static IHTMLManager GetHTMLManager() { if (s_loaded) { return(s_htmlManager); } else { string typeName = ConfigurationManager.AppSettings["HTMLManagerType"]; s_loaded = true; if (typeName == null) { return(null); } s_htmlManager = (IHTMLManager)Activator.CreateInstance(Type.GetType(typeName)); return(s_htmlManager); } }