static ErrorAttachmentLog PlatformAttachmentWithBinary(byte[] data, string filename, string contentType) { NSData nsdata = NSData.FromArray(data); MSACErrorAttachmentLog iosAttachment = MSACErrorAttachmentLog.AttachmentWithBinaryData(nsdata, filename, contentType); return(new ErrorAttachmentLog(iosAttachment)); }
ErrorAttachmentLog(MSACErrorAttachmentLog iosAttachment) { internalAttachment = iosAttachment; }
static ErrorAttachmentLog PlatformAttachmentWithText(string text, string fileName) { MSACErrorAttachmentLog iosAttachment = MSACErrorAttachmentLog.AttachmentWithText(text, fileName); return(new ErrorAttachmentLog(iosAttachment)); }
ErrorAttachmentLog(MSACErrorAttachmentLog macAttachment) { internalAttachment = macAttachment; }