public IDayBedRequirementMeans Calculate( IDayBedRequirementMeansResultElementFactory dayBedRequirementMeansResultElementFactory, IDayBedRequirementMeansFactory dayBedRequirementMeansFactory, IDayBedRequirementMeansResultElementCalculation dayBedRequirementMeansResultElementCalculation, Id d, Iμ μ) { return(dayBedRequirementMeansFactory.Create( d.Value .Select(y => dayBedRequirementMeansResultElementCalculation.Calculate( dayBedRequirementMeansResultElementFactory, y, μ)) .ToImmutableList())); }
public IDayBedRequirementMeansFactory CreateDayBedRequirementMeansFactory() { IDayBedRequirementMeansFactory factory = null; try { factory = new DayBedRequirementMeansFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }