/// <summary> /// This method adds the new adjusted parameter to the history /// list /// </summary> private void AddAdjustedParamToHistoryList(string parameterName, HTuple paramValue) { IAParameterEntry adjustedDynamicParam; // Add the new parameter with the new value to the list adjustedDynamicParam = new IAParameterEntry( parameterName, paramValue); // if the tuple contains values if (adjustedDynamicParam.ParameterValue.TupleLength() > 0) { // Create the list for the history of adjustment of // IA parameters, if the list of adjusted parameters // is not created yet. if (ListOfAdjustedDynamicParameters == null) { ListOfAdjustedDynamicParameters = new ArrayList(); } ListOfAdjustedDynamicParameters.Add(adjustedDynamicParam); } else { throw new ArgumentException("The parameter value" + "contains no values!"); } }
/// <summary> /// This method adds the new adjusted parameter to the history /// list /// </summary> private void AddAdjustedParamToHistoryList(string parameterName, HTuple paramValue) { IAParameterEntry adjustedDynamicParam; // Add the new parameter with the new value to the list adjustedDynamicParam = new IAParameterEntry( parameterName, paramValue); // if the tuple contains values if (adjustedDynamicParam.ParameterValue.TupleLength() > 0) { // Create the list for the history of adjustment of // IA parameters, if the list of adjusted parameters // is not created yet. if (ListOfAdjustedDynamicParameters == null) ListOfAdjustedDynamicParameters = new ArrayList(); ListOfAdjustedDynamicParameters.Add(adjustedDynamicParam); } else throw new ArgumentException("The parameter value" + "contains no values!"); }