コード例 #1
0
        protected string GetBodyFooter()
        {
            IHTMLManager htmlManager = HTMLManagerLoader.GetHTMLManager();

            if (htmlManager != null)
            {
                return(htmlManager.GetBodyFooter());
            }
            return(null);
        }
コード例 #2
0
ファイル: HTMLManager.cs プロジェクト: JatinR/quest
 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;
     }
 }
コード例 #3
0
 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);
     }
 }