예제 #1
0
        public static myMessage GetLayer()
        {
            Type      trp = System.Web.Compilation.BuildManager.GetType(MODULE_NAME, true);
            myMessage de  = (myMessage)Activator.CreateInstance(trp);

            return(de);
        }
예제 #2
0
        public static string SendAnEmail(string sMySubject, System.Text.StringBuilder body, string sFromSender, string sRecipient)
        {
            myMessage se = myMessageHelper.GetLayer();

            return(se.SendEmail(sMySubject, body, sFromSender, sRecipient));
        }