Exemplo n.º 1
0
 public void FinishedPart()
 {
     if (jsonBuffer != null)
     {
         ParseJsonBuffer();
     }
     else
     {
         curAttachment.Finish();
         String md5String = curAttachment.MD5DigestString();
         attachmentsByMd5Digest.Put(md5String, curAttachment);
         curAttachment = null;
     }
 }
 public void FinishedPart()
 {
     if (jsonBuffer != null)
     {
         ParseJsonBuffer();
     }
     else
     {
         curAttachment.Finish();
         String sha1String = curAttachment.SHA1DigestString();
         attachmentsBySHA1Digest.Put(sha1String, curAttachment);
         curAttachment = null;
     }
 }
 public void FinishedPart()
 {
     if (jsonBuffer != null)
     {
         ParseJsonBuffer();
     }
     else
     {
         curAttachment.Finish();
         var sha1String = curAttachment.SHA1DigestString();
         Log.To.Sync.V(TAG, "{0} finished attachment #{1}: {2}", this, attachmentsByDigest.Count + 1, curAttachment);
         attachmentsByDigest[sha1String] = curAttachment;
         curAttachment = null;
     }
 }