示例#1
0
        public static UplinkObject uplink_object_iterator_item(UplinkObjectIterator iterator)
        {
            global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_object_iterator_item(UplinkObjectIterator.getCPtr(iterator));
            UplinkObject          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkObject(cPtr, false);

            return(ret);
        }
示例#2
0
        public static UplinkObjectIterator uplink_list_objects(UplinkProject project, string bucket_name, UplinkListObjectsOptions options)
        {
            global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_list_objects(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, UplinkListObjectsOptions.getCPtr(options));
            UplinkObjectIterator  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkObjectIterator(cPtr, false);

            return(ret);
        }
示例#3
0
 public static void uplink_free_object_iterator(UplinkObjectIterator iterator)
 {
     storj_uplinkPINVOKE.uplink_free_object_iterator(UplinkObjectIterator.getCPtr(iterator));
 }
示例#4
0
        public static bool uplink_object_iterator_next(UplinkObjectIterator iterator)
        {
            bool ret = storj_uplinkPINVOKE.uplink_object_iterator_next(UplinkObjectIterator.getCPtr(iterator));

            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UplinkObjectIterator obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }