예제 #1
0
 public System.Threading.Tasks.Task <Client.ServiceReference1.uploadFileResponse> uploadFileAsync(string description, string fileName, System.IO.Stream dataStream)
 {
     Client.ServiceReference1.StreamMessage inValue = new Client.ServiceReference1.StreamMessage();
     inValue.description = description;
     inValue.fileName    = fileName;
     inValue.dataStream  = dataStream;
     return(((Client.ServiceReference1.IService1)(this)).uploadFileAsync(inValue));
 }
예제 #2
0
 public void uploadFile(string description, string fileName, System.IO.Stream dataStream)
 {
     Client.ServiceReference1.StreamMessage inValue = new Client.ServiceReference1.StreamMessage();
     inValue.description = description;
     inValue.fileName    = fileName;
     inValue.dataStream  = dataStream;
     Client.ServiceReference1.uploadFileResponse retVal = ((Client.ServiceReference1.IService1)(this)).uploadFile(inValue);
 }
예제 #3
0
 public string downloadFile(string name, out string fileName, out System.IO.Stream dataStream)
 {
     Client.ServiceReference1.RequestMessage inValue = new Client.ServiceReference1.RequestMessage();
     inValue.name = name;
     Client.ServiceReference1.StreamMessage retVal = ((Client.ServiceReference1.IService1)(this)).downloadFile(inValue);
     fileName   = retVal.fileName;
     dataStream = retVal.dataStream;
     return(retVal.description);
 }
예제 #4
0
 System.Threading.Tasks.Task <Client.ServiceReference1.uploadFileResponse> Client.ServiceReference1.IService1.uploadFileAsync(Client.ServiceReference1.StreamMessage request)
 {
     return(base.Channel.uploadFileAsync(request));
 }
예제 #5
0
 Client.ServiceReference1.uploadFileResponse Client.ServiceReference1.IService1.uploadFile(Client.ServiceReference1.StreamMessage request)
 {
     return(base.Channel.uploadFile(request));
 }