Пример #1
0
        public static UplinkPart uplink_part_iterator_item(UplinkPartIterator iterator)
        {
            global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_part_iterator_item(UplinkPartIterator.getCPtr(iterator));
            UplinkPart            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkPart(cPtr, false);

            return(ret);
        }
Пример #2
0
        public static UplinkPartIterator uplink_list_upload_parts(UplinkProject project, string bucket_name, string object_key, string upload_id, UplinkListUploadPartsOptions options)
        {
            global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_list_upload_parts(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(upload_id).swigCPtr, UplinkListUploadPartsOptions.getCPtr(options));
            UplinkPartIterator    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkPartIterator(cPtr, false);

            return(ret);
        }
Пример #3
0
 public static void uplink_free_part_iterator(UplinkPartIterator iterator)
 {
     storj_uplinkPINVOKE.uplink_free_part_iterator(UplinkPartIterator.getCPtr(iterator));
 }
Пример #4
0
        public static bool uplink_part_iterator_next(UplinkPartIterator iterator)
        {
            bool ret = storj_uplinkPINVOKE.uplink_part_iterator_next(UplinkPartIterator.getCPtr(iterator));

            return(ret);
        }
Пример #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UplinkPartIterator obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }