using System; using Ksat.Supplyment.Library.Uploader; namespace S3Demo.Model.Uploader { public class S3Uploader : S3Demo.Helper.SingletonHelper,IDisposable { private static Uploader mUploader; private static S3UploadOperator mOperator; private S3Uploader() { mOperator = new S3UploadOperator(); mUploader = new Uploader("S3Uploader", mOperator); } public void AddUploadTask(S3UploadModel reqData, string tag) { mUploader.AddUploadRequest(reqData, tag); } public void Dispose() { mUploader.Dispose(); } } }