public override void Process(testcaseresult context)
        {
            var attachment = AllureResultsUtils.WriteAttachmentSafely(Attachment, Title, Type);

            context.attachments = ArraysUtils.Add(context.attachments, attachment);
        }
 public MakeAttachEvent(byte[] attachment, string title, string type)
 {
     Title          = title;
     AttachmentType = type;
     Attach         = AllureResultsUtils.WriteAttachmentSafely(attachment, title, type);
 }