コード例 #1
0
        public static myCommon GetLayer()
        {
            Type     trp = System.Web.Compilation.BuildManager.GetType(MODULE_NAME, true);
            myCommon de  = (myCommon)Activator.CreateInstance(trp);

            return(de);
        }
コード例 #2
0
        public static string[] returnSenderEmails()
        {
            string[] myArr  = null;
            Char     myChar = Char.Parse(";");
            string   str    = string.Empty;

            myCommon de = myCommonHelper.GetLayer();

            str   = de.GetSenderEmails;
            myArr = str.Split(myChar);

            return(myArr);
        }
コード例 #3
0
        public static string ConnectionString()
        {
            myCommon de = myCommonHelper.GetLayer();

            return(de.GetConnection);
        }