public static HtsRegistry Create(string facility, ClientStage clientStage, ENCOUNTERS encounters) { var newclients = new List <NEWCLIENT> { NEWCLIENT.Create(clientStage, encounters) }; return(new HtsRegistry(MESSAGE_HEADER.Create(facility), newclients)); }
public static HtsRegistry Create(string facility, List <ClientStage> clients) { var newclients = new List <NEWCLIENT>(); foreach (var client in clients) { newclients.Add(NEWCLIENT.Create(client)); } return(new HtsRegistry(MESSAGE_HEADER.Create(facility), newclients)); }
private HtsRegistry(MESSAGE_HEADER messageHeader, List <NEWCLIENT> clients) { MESSAGE_HEADER = messageHeader; CLIENTS = clients; }