Esempio n. 1
0
        public IntPtr MarshalManagedToNative(object managedObj)
        {
            string text = managedObj as string;

            if (text == null)
            {
                return(IntPtr.Zero);
            }
            return(ObjC.ToNSUrl(text));
        }