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); }
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())); }