public IMessageBag <OvcExtractView> Generate(List <OvcExtractView> extracts) { var messages = new List <IMessage <OvcExtractView> >(); foreach (var artExtractView in extracts) { var message = new OvcsMessage(artExtractView); messages.Add(message); } return(new OvcsMessageBag(messages)); }
public static OvcsMessageBag Create(PatientExtractView patient) { var message = new OvcsMessage(patient); return(new OvcsMessageBag(message)); }
public OvcsMessageBag(OvcsMessage message) { Message = message; }