Exemplo n.º 1
0
        public IβFactory CreateβFactory()
        {
            IβFactory factory = null;

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

            return(factory);
        }
Exemplo n.º 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()));
 }