public Interfaces.Results.SP.PatientGroupActiveDayNumberPatientAssignments.ISPx GetElementsAt( ISPxResultElementFactory xResultElementFactory, ISPxFactory xFactory, Ipa pa) { return(xFactory.Create( pa.Value .Select( i => xResultElementFactory.Create( i.pIndexElement, i.aIndexElement, this.GetElementAt( i.pIndexElement, i.aIndexElement))) .ToImmutableList())); }
public ISPxResultElementFactory CreateSPxResultElementFactory() { ISPxResultElementFactory factory = null; try { factory = new SPxResultElementFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }