public IScenarioUtilizedTimesFactory CreateScenarioUtilizedTimesFactory() { IScenarioUtilizedTimesFactory factory = null; try { factory = new ScenarioUtilizedTimesFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }
public IScenarioUtilizedTimes Calculate( IScenarioUtilizedTimesResultElementFactory scenarioUtilizedTimesResultElementFactory, IScenarioUtilizedTimesFactory scenarioUtilizedTimesFactory, IScenarioUtilizedTimesResultElementCalculation scenarioUtilizedTimesResultElementCalculation, IΛ Λ, Isrt srt, Ih h, In n, Ix x) { return(scenarioUtilizedTimesFactory.Create( Λ.Value .Select(w => scenarioUtilizedTimesResultElementCalculation.Calculate( scenarioUtilizedTimesResultElementFactory, w, srt, h, n, x)) .ToImmutableList())); }