Exemplo n.º 1
0
 public Interfaces.Results.TP.WardDayBedAvailabilityDeviations.IδMinus GetElementsAt(
     IδMinusResultElementFactory δMinusResultElementFactory,
     IδMinusFactory δMinusFactory,
     Iwd wd)
 {
     return(δMinusFactory.Create(
                wd.Value
                .Select(
                    i => δMinusResultElementFactory.Create(
                        i.wIndexElement,
                        i.dIndexElement,
                        (decimal)this.GetElementAt(
                            i.wIndexElement,
                            i.dIndexElement)))
                .ToImmutableList()));
 }
        public IδMinusFactory CreateδMinusFactory()
        {
            IδMinusFactory factory = null;

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

            return(factory);
        }