ParameterMetaDataParser.cs: Updated name of method to be more accurate to its purpose.

This commit is contained in:
Adam M Rivera 2012-04-25 12:33:33 -05:00
parent cb6f97fc7f
commit 498e1d01b6
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ namespace ArdupilotMega.Utilities
// Read and parse the content.
string dataFromAddress = ReadDataFromAddress(parameterLocation);
ParseLibInformation(dataFromAddress, objXmlTextWriter, parameterLocation);
ParseGroupInformation(dataFromAddress, objXmlTextWriter, parameterLocation);
ParseParameterInformation(dataFromAddress, objXmlTextWriter);
// Write the end element for this parameter location
@ -58,12 +58,12 @@ namespace ArdupilotMega.Utilities
}
/// <summary>
/// Parses the lib information.
/// Parses the group parameter information.
/// </summary>
/// <param name="fileContents">The file contents.</param>
/// <param name="objXmlTextWriter">The obj XML text writer.</param>
/// <param name="parameterLocation">The parameter location.</param>
private static void ParseLibInformation(string fileContents, XmlTextWriter objXmlTextWriter, string parameterLocation)
private static void ParseGroupInformation(string fileContents, XmlTextWriter objXmlTextWriter, string parameterLocation)
{
var parsedInformation = ParseKeyValuePairs(fileContents, ParameterMetaDataConstants.Group);
if (parsedInformation != null && parsedInformation.Count > 0)