public IβResultElementFactory CreateβResultElementFactory()
        {
            IβResultElementFactory factory = null;

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

            return(factory);
        }
Beispiel #2
0
 public Interfaces.Results.SurgeonOperatingRoomDayNumberAssignedTimeBlocks.Iβ GetElementsAt(
     IβResultElementFactory βResultElementFactory,
     IβFactory βFactory,
     Isrd srd)
 {
     return(βFactory.Create(
                srd.Value
                .Select(
                    i => βResultElementFactory.Create(
                        i.sIndexElement,
                        i.rIndexElement,
                        i.dIndexElement,
                        this.GetElementAt(
                            i.sIndexElement,
                            i.rIndexElement,
                            i.dIndexElement)))
                .ToImmutableList()));
 }