示例#1
0
		public override object CreateMultiResolutionImage (IEnumerable<object> images)
		{
			NSImage res = new NSImage ();
			foreach (NSImage img in images)
				res.AddRepresentations (img.Representations ());
			return res;
		}
示例#2
0
        public override object CreateMultiSizeIcon(IEnumerable<object> images)
        {
            if (images.Count () == 1)
                return images.First ();

            NSImage res = new NSImage ();
            foreach (NSImage img in images)
                res.AddRepresentations (img.Representations ());
            return res;
        }