Esempio n. 1
0
 Mono_MFMailComposeViewControllerDelegate EnsureDelegate()
 {
     NSObject del = WeakMailComposeDelegate;
     if (del == null || (!(del is Mono_MFMailComposeViewControllerDelegate))){
         del = new Mono_MFMailComposeViewControllerDelegate ();
         WeakMailComposeDelegate = del;
     }
     return (Mono_MFMailComposeViewControllerDelegate) del;
 }
Esempio n. 2
0
        Mono_MFMailComposeViewControllerDelegate EnsureDelegate()
        {
            NSObject del = WeakMailComposeDelegate;

            if (del == null || (!(del is Mono_MFMailComposeViewControllerDelegate)))
            {
                del = new Mono_MFMailComposeViewControllerDelegate();
                WeakMailComposeDelegate = del;
            }
            return((Mono_MFMailComposeViewControllerDelegate)del);
        }