Beispiel #1
0
 public static void uplink_free_commit_upload_result(UplinkCommitUploadResult result)
 {
     storj_uplinkPINVOKE.uplink_free_commit_upload_result(UplinkCommitUploadResult.getCPtr(result));
     if (storj_uplinkPINVOKE.SWIGPendingException.Pending)
     {
         throw storj_uplinkPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UplinkCommitUploadResult obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #3
0
        public static UplinkCommitUploadResult uplink_commit_upload(UplinkProject project, string bucket_name, string object_key, string upload_id, UplinkCommitUploadOptions options)
        {
            UplinkCommitUploadResult ret = new UplinkCommitUploadResult(storj_uplinkPINVOKE.uplink_commit_upload(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(upload_id).swigCPtr, UplinkCommitUploadOptions.getCPtr(options)), true);

            return(ret);
        }
Beispiel #4
0
        public static UplinkCommitUploadResult uplink_commit_upload(UplinkProject project, string bucket_name, string object_key, string upload_id, UplinkCommitUploadOptions options)
        {
            UplinkCommitUploadResult ret = new UplinkCommitUploadResult(storj_uplinkPINVOKE.uplink_commit_upload(UplinkProject.getCPtr(project), bucket_name, object_key, upload_id, UplinkCommitUploadOptions.getCPtr(options)), true);

            return(ret);
        }