Exemplo n.º 1
0
 public Interfaces.Results.TP.WardDayBedRequirementMeans.Iμ GetElementsAt(
     IμResultElementFactory μResultElementFactory,
     IμFactory μFactory,
     Iwd wd)
 {
     return(μFactory.Create(
                wd.Value
                .Select(
                    i => μResultElementFactory.Create(
                        i.wIndexElement,
                        i.dIndexElement,
                        (decimal)this.GetElementAt(
                            i.wIndexElement,
                            i.dIndexElement)))
                .ToImmutableList()));
 }
        public IμResultElementFactory CreateμResultElementFactory()
        {
            IμResultElementFactory factory = null;

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

            return(factory);
        }