Exemplo n.º 1
0
        protected bool?GetBoolValue(NSString key)
        {
            if (key == null)
            {
                throw new ArgumentNullException("key");
            }

            var value = CFDictionary.GetValue(Dictionary.Handle, key.Handle);

            if (value == IntPtr.Zero)
            {
                return(null);
            }

            return(CFBoolean.GetValue(value));
        }