public static NSTimeZone FromName(string name, NSData data) { return Runtime.GetNSObject<NSTimeZone>(ObjC.MessageSendIntPtr(_classHandle, Selector.GetHandle("timeZoneWithName:data:"), name, data.Handle)); }
protected override void Dispose(bool disposing) { _data = null; base.Dispose(disposing); }
public static NSData FromData(NSData source) { return(Runtime.GetNSObject <NSData>(ObjC.MessageSendIntPtr(_classHandle, Selector.GetHandle("dataWithData:"), source.Handle))); }
public static UIImage LoadFromData(NSData data, float scale) { return Runtime.GetNSObject<UIImage>(ObjC.MessageSendIntPtr(_classHandle, Selector.GetHandle("imageWithData:scale:"), data.Handle, scale)); }
#pragma warning restore 414 public unsafe UnmanagedMemoryStreamWithRef(NSData source) : base((byte *)((void *)source.Bytes), (long)((ulong)source.Length)) { _data = source; }
public static UIImage LoadFromData(NSData data, float scale) { return(Runtime.GetNSObject <UIImage>(ObjC.MessageSendIntPtr(_classHandle, Selector.GetHandle("imageWithData:scale:"), data.Handle, scale))); }
public static NSTimeZone FromName(string name, NSData data) { return(Runtime.GetNSObject <NSTimeZone>(ObjC.MessageSendIntPtr(_classHandle, Selector.GetHandle("timeZoneWithName:data:"), name, data.Handle))); }
public static NSData FromData(NSData source) { return Runtime.GetNSObject<NSData>(ObjC.MessageSendIntPtr(_classHandle, Selector.GetHandle("dataWithData:"), source.Handle)); }
#pragma warning restore 414 public unsafe UnmanagedMemoryStreamWithRef(NSData source) : base((byte*)((void*)source.Bytes), (long)((ulong)source.Length)) { _data = source; }