public Interfaces.Results.TP.PatientGroupActiveDayNumberPatientAssignments.ITPx GetElementsAt( ITPxResultElementFactory xResultElementFactory, ITPxFactory xFactory, Ipa pa) { return(xFactory.Create( pa.Value .Select( i => xResultElementFactory.Create( i.pIndexElement, i.aIndexElement, this.GetElementAt( i.pIndexElement, i.aIndexElement))) .ToImmutableList())); }
public ITPxFactory CreateTPxFactory() { ITPxFactory factory = null; try { factory = new TPxFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }