static unsafe void Invoke(IntPtr block, global::System.nfloat obj)
            {
                var descriptor = (BlockLiteral *)block;
                var del        = (global::System.Action <global::System.nfloat>)(descriptor->Target);

                if (del != null)
                {
                    del(obj);
                }
            }
Esempio n. 2
0
 public virtual void ShowFullscreenWithAnimateDuration(global::System.nfloat duration, global::System.nuint initialPageIndex)
 {
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_nfloat_nuint(this.Handle, Selector.GetHandle("showFullscreenWithAnimateDuration:andInitialPageIndex:"), duration, initialPageIndex);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_nfloat_nuint(this.SuperHandle, Selector.GetHandle("showFullscreenWithAnimateDuration:andInitialPageIndex:"), duration, initialPageIndex);
     }
 }
Esempio n. 3
0
 public virtual void HideWithFadeOutDuration(global::System.nfloat duration)
 {
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_nfloat(this.Handle, Selector.GetHandle("hideWithFadeOutDuration:"), duration);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_nfloat(this.SuperHandle, Selector.GetHandle("hideWithFadeOutDuration:"), duration);
     }
 }
 public virtual void SetProgress(global::System.nfloat progress, bool animated)
 {
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_nfloat_bool(this.Handle, Selector.GetHandle("setProgress:animated:"), progress, animated);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_nfloat_bool(this.SuperHandle, Selector.GetHandle("setProgress:animated:"), progress, animated);
     }
 }
Esempio n. 5
0
 public MarqueeLabel(CGRect frame, global::System.Double scrollDuration, global::System.nfloat fadeLength)
     : base(NSObjectFlag.Empty)
 {
     IsDirectBinding = GetType().Assembly == global::ApiDefinition.Messaging.this_assembly;
     if (IsDirectBinding)
     {
         InitializeHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend_CGRect_Double_nfloat(this.Handle, Selector.GetHandle("initWithFrame:duration:andFadeLength:"), frame, scrollDuration, fadeLength), "initWithFrame:duration:andFadeLength:");
     }
     else
     {
         InitializeHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSendSuper_CGRect_Double_nfloat(this.SuperHandle, Selector.GetHandle("initWithFrame:duration:andFadeLength:"), frame, scrollDuration, fadeLength), "initWithFrame:duration:andFadeLength:");
     }
 }
Esempio n. 6
0
 public virtual void ShowInView(global::UIKit.UIView view, global::System.nfloat duration, global::System.nuint initialPageIndex)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_nfloat_nuint(this.Handle, Selector.GetHandle("showInView:animateDuration:withInitialPageIndex:"), view.Handle, duration, initialPageIndex);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr_nfloat_nuint(this.SuperHandle, Selector.GetHandle("showInView:animateDuration:withInitialPageIndex:"), view.Handle, duration, initialPageIndex);
     }
 }
 public extern static void void_objc_msgSendSuper_nfloat(IntPtr receiver, IntPtr selector, global::System.nfloat arg1);
Esempio n. 8
0
 public static CGSize StringSize(this string This, UIFont font, global::System.nfloat minFontSize, ref global::System.nfloat actualFontSize, global::System.nfloat forWidth, UILineBreakMode lineBreakMode)
 {
     using (var self = ((NSString)This))
         return(self.StringSize(font, minFontSize, ref actualFontSize, forWidth, lineBreakMode));
 }
Esempio n. 9
0
 public static CGSize StringSize(this string This, UIFont font, global::System.nfloat forWidth, UILineBreakMode breakMode)
 {
     using (var self = ((NSString)This))
         return(self.StringSize(font, forWidth, breakMode));
 }
Esempio n. 10
0
 public static CGSize DrawString(this string This, CGPoint point, global::System.nfloat width, UIFont font, global::System.nfloat minFontSize, ref global::System.nfloat actualFontSize, UILineBreakMode breakMode, UIBaselineAdjustment adjustment)
 {
     using (var self = ((NSString)This))
         return(self.DrawString(point, width, font, minFontSize, ref actualFontSize, breakMode, adjustment));
 }
Esempio n. 11
0
 public static CGSize DrawString(this string This, CGPoint point, global::System.nfloat width, UIFont font, UILineBreakMode breakMode)
 {
     using (var self = ((NSString)This))
         return(self.DrawString(point, width, font, breakMode));
 }
 public extern static void void_objc_msgSend_nfloat_bool(IntPtr receiver, IntPtr selector, global::System.nfloat arg1, bool arg2);
Esempio n. 13
0
 public static void WebViewProgress(this INJKWebViewProgressDelegate This, NJKWebViewProgress webViewProgress, global::System.nfloat progress)
 {
     if (webViewProgress == null)
     {
         throw new ArgumentNullException("webViewProgress");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_nfloat(This.Handle, Selector.GetHandle("webViewProgress:updateProgress:"), webViewProgress.Handle, progress);
 }
 public virtual void PanGestureBeganFromLocation(SWRevealViewController revealController, global::System.nfloat location, global::System.nfloat progress, global::System.nfloat overProgress)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
 public static void SetProgress(this global::UIKit.UINavigationController This, global::System.nfloat progress, bool animated)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_nfloat_bool(This.Handle, Selector.GetHandle("setProgress:animated:"), progress, animated);
 }
 public static MGLMapCamera CameraLookingAtCenterCoordinate(global::CoreLocation.CLLocationCoordinate2D centerCoordinate, global::System.Double distance, global::System.nfloat pitch, global::System.Double heading)
 {
     return(Runtime.GetNSObject <MGLMapCamera> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_CLLocationCoordinate2D_Double_nfloat_Double(class_ptr, Selector.GetHandle("cameraLookingAtCenterCoordinate:fromDistance:pitch:heading:"), centerCoordinate, distance, pitch, heading)));
 }
 public extern static IntPtr IntPtr_objc_msgSendSuper_CLLocationCoordinate2D_Double_nfloat_Double(IntPtr receiver, IntPtr selector, global::CoreLocation.CLLocationCoordinate2D arg1, global::System.Double arg2, global::System.nfloat arg3, global::System.Double arg4);
Esempio n. 18
0
 public virtual void WebViewProgress(NJKWebViewProgress webViewProgress, global::System.nfloat progress)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
Esempio n. 19
0
 public extern static void void_objc_msgSendSuper_IntPtr_nfloat_nuint(IntPtr receiver, IntPtr selector, IntPtr arg1, global::System.nfloat arg2, global::System.nuint arg3);
Esempio n. 20
0
 public extern static global::System.IntPtr IntPtr_objc_msgSendSuper_CGRect_Double_nfloat(IntPtr receiver, IntPtr selector, CGRect arg1, global::System.Double arg2, global::System.nfloat arg3);
 unsafe void Invoke(global::System.nfloat obj)
 {
     invoker(blockPtr, obj);
 }