public Iδ2ParameterElementCalculation Create() { Iδ2ParameterElementCalculation calculation = null; try { calculation = new δ2ParameterElementCalculation(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(calculation); }
public Iδ2 Calculate( Iδ2ParameterElementFactory δ2ParameterElementFactory, Iδ2Factory δ2Factory, Iδ2ParameterElementCalculation δ2ParameterElementCalculation, Isrd srd, It t, IW W, Iβ β, Iγ γ) { return(δ2Factory.Create( srd.Value .Select(x => δ2ParameterElementCalculation.Calculate( δ2ParameterElementFactory, x.dIndexElement, x.rIndexElement, x.sIndexElement, t, W, β, γ)) .ToImmutableList())); }