public IExpectedValueΦ Calculate( IExpectedValueΦResultElementFactory expectedValueΦResultElementFactory, IExpectedValueΦFactory expectedValueΦFactory, IExpectedValueΦResultElementCalculation expectedValueΦResultElementCalculation, Il l, It t, IslΛ slΛ, IL L, Ip p, Iμ μ) { return(expectedValueΦFactory.Create( slΛ.Value .Select(i => expectedValueΦResultElementCalculation.Calculate( expectedValueΦResultElementFactory, i.lIndexElement, i.sIndexElement, i.ΛIndexElement, l, t, L, p, μ)) .ToImmutableList())); }
public IExpectedValueΦResultElementCalculation Create() { IExpectedValueΦResultElementCalculation calculation = null; try { calculation = new ExpectedValueΦResultElementCalculation(); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(calculation); }
public IExpectedValueΦResultElementCalculation Create() { IExpectedValueΦResultElementCalculation calculation = null; try { calculation = new ExpectedValueΦResultElementCalculation(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(calculation); }