Пример #1
0
        public void UploadRequest(string url, string file, string info, IFileUploadProgressBehaviour behaviour)
        {
            var logic = GetOrCreateLogic();

            logic.ServerUrl = url;
            logic.Request(file, info, behaviour);
        }
 public void Request(string localPath,
                     string fileInfo, IFileUploadProgressBehaviour behaviour)
 {
     this.status          = EStatus.None;
     this.uploadBehaviour = behaviour;
     this.localFilePath   = localPath;
     this.fileInformation = fileInfo;
     this.uploadCoroutine = this.UploadFile();
 }