Exemplo n.º 1
0
        public static IUploadService CreateInstance()
        {
            IUploadService us = null;

            if (Global.WebType == "A")
                us = new UploadService();
            else if (Global.WebType == "S")
                us = new S_UploadService();

            return us;
        }
Exemplo n.º 2
0
        public static IUploadService CreateInstance()
        {
            IUploadService us = null;

            if (Global.WebType == "A")
            {
                us = new UploadService();
            }
            else if (Global.WebType == "S")
            {
                us = new S_UploadService();
            }

            return(us);
        }