Beispiel #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);
            }
Beispiel #2
0
 public NSObject CopyWithZone(IntPtr zone)
 {
     return(new LazyImageRep {
         rep = rep?.Copy() as NSBitmapImageRep, Load = Load
     });
 }