예제 #1
0
 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 ISPxFactory CreateSPxFactory()
        {
            ISPxFactory factory = null;

            try
            {
                factory = new SPxFactory();
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(factory);
        }