Esempio n. 1
0
            public NSObject CopyWithZone(IntPtr zone)
            {
                var obj = new LazyImageRep {
                    rep        = rep?.Copy() as NSBitmapImageRep,
                    pixelsHigh = pixelsHigh,
                    pixelsWide = pixelsWide,
                    size       = size,
                    Load       = Load
                };

                obj.DangerousRetain();
                return(obj);
            }
Esempio n. 2
0
 public NSObject CopyWithZone(IntPtr zone)
 {
     return(new LazyImageRep {
         rep = rep?.Copy() as NSBitmapImageRep, Load = Load
     });
 }