Пример #1
0
        public void EnumerateTags(NSString rootPath, CGImageMetadataEnumerateOptions options, CGImageMetadataTagBlock block)
        {
            IntPtr       r = rootPath == null ? IntPtr.Zero : rootPath.Handle;
            NSDictionary o = null;

            if (options != null)
            {
                o = options.ToDictionary();
            }
            CGImageMetadataEnumerateTagsUsingBlock(Handle, r, o == null ? IntPtr.Zero : o.Handle, block);
            if (options != null)
            {
                o.Dispose();
            }
        }
Пример #2
0
 public void EnumerateTags(NSString rootPath, CGImageMetadataEnumerateOptions options, CGImageMetadataTagBlock block)
 {
     IntPtr r = rootPath == null ? IntPtr.Zero : rootPath.Handle;
     NSDictionary o = null;
     if (options != null)
         o = options.ToDictionary ();
     CGImageMetadataEnumerateTagsUsingBlock (Handle, r, o == null ? IntPtr.Zero : o.Handle, block);
     if (options != null)
         o.Dispose ();
 }