コード例 #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;
        }
コード例 #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);
        }