Ejemplo n.º 1
0
 public int EndDownloadFile2(System.IAsyncResult result, out int VoucherId, out string s1, out string s2, out System.IO.Stream FileByteStream)
 {
     MerchantSite.FileServiceRef.FileMessage2 retVal = ((MerchantSite.FileServiceRef.IFileService)(this)).EndDownloadFile2(result);
     VoucherId      = retVal.VoucherId;
     s1             = retVal.s1;
     s2             = retVal.s2;
     FileByteStream = retVal.FileByteStream;
     return(retVal.CountryId);
 }
Ejemplo n.º 2
0
 public System.IAsyncResult BeginUploadFile2(int CountryId, int VoucherId, string s1, string s2, System.IO.Stream FileByteStream, System.AsyncCallback callback, object asyncState)
 {
     MerchantSite.FileServiceRef.FileMessage2 inValue = new MerchantSite.FileServiceRef.FileMessage2();
     inValue.CountryId      = CountryId;
     inValue.VoucherId      = VoucherId;
     inValue.s1             = s1;
     inValue.s2             = s2;
     inValue.FileByteStream = FileByteStream;
     return(((MerchantSite.FileServiceRef.IFileService)(this)).BeginUploadFile2(inValue, callback, asyncState));
 }
Ejemplo n.º 3
0
 public void UploadFile2(int CountryId, int VoucherId, string s1, string s2, System.IO.Stream FileByteStream)
 {
     MerchantSite.FileServiceRef.FileMessage2 inValue = new MerchantSite.FileServiceRef.FileMessage2();
     inValue.CountryId      = CountryId;
     inValue.VoucherId      = VoucherId;
     inValue.s1             = s1;
     inValue.s2             = s2;
     inValue.FileByteStream = FileByteStream;
     MerchantSite.FileServiceRef.UploadFile2Response retVal = ((MerchantSite.FileServiceRef.IFileService)(this)).UploadFile2(inValue);
 }
Ejemplo n.º 4
0
 public System.IO.Stream DownloadFile2(ref int CountryId, ref int VoucherId, ref string s1, ref string s2)
 {
     MerchantSite.FileServiceRef.FileInfo2 inValue = new MerchantSite.FileServiceRef.FileInfo2();
     inValue.CountryId = CountryId;
     inValue.VoucherId = VoucherId;
     inValue.s1        = s1;
     inValue.s2        = s2;
     MerchantSite.FileServiceRef.FileMessage2 retVal = ((MerchantSite.FileServiceRef.IFileService)(this)).DownloadFile2(inValue);
     CountryId = retVal.CountryId;
     VoucherId = retVal.VoucherId;
     s1        = retVal.s1;
     s2        = retVal.s2;
     return(retVal.FileByteStream);
 }
Ejemplo n.º 5
0
 System.IAsyncResult MerchantSite.FileServiceRef.IFileService.BeginUploadFile2(MerchantSite.FileServiceRef.FileMessage2 request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUploadFile2(request, callback, asyncState));
 }
Ejemplo n.º 6
0
 MerchantSite.FileServiceRef.UploadFile2Response MerchantSite.FileServiceRef.IFileService.UploadFile2(MerchantSite.FileServiceRef.FileMessage2 request)
 {
     return(base.Channel.UploadFile2(request));
 }