Ejemplo n.º 1
0
        public IxHatFactory CreatexHatFactory()
        {
            IxHatFactory factory = null;

            try
            {
                factory = new xHatFactory();
            }
            catch (Exception exception)
            {
                this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace);
            }

            return(factory);
        }
Ejemplo n.º 2
0
 public Interfaces.Results.SurgeonOperatingRoomDayAssignments.IxHat GetElementsAt(
     IxHatResultElementFactory xHatResultElementFactory,
     IxHatFactory xHatFactory,
     Isrt srt)
 {
     return(xHatFactory.Create(
                srt.Value
                .Select(
                    i => xHatResultElementFactory.Create(
                        i.sIndexElement,
                        i.rIndexElement,
                        i.tIndexElement,
                        this.GetElementAt(
                            i.sIndexElement,
                            i.rIndexElement,
                            i.tIndexElement)))
                .ToImmutableList()));
 }