private static void AddAttachment(Entity entity, string line) { ActiveUp.Net.Groupware.vCalendar.Attachment attach = new ActiveUp.Net.Groupware.vCalendar.Attachment(); ActiveUp.Net.Groupware.vCalendar.Parser.SetValueAndType(attach, line); entity.Attachments.Add(attach); }
private static void AddAttachment(Entity entity, string line) { ActiveUp.Net.Groupware.vCalendar.Attachment attach = new ActiveUp.Net.Groupware.vCalendar.Attachment(); ActiveUp.Net.Groupware.vCalendar.Parser.SetValueAndType(attach,line); entity.Attachments.Add(attach); }