Skip to content
Snippets Groups Projects
Commit dfe2d348 authored by Adam M Rivera's avatar Adam M Rivera
Browse files

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

parent 09ffc69d
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ namespace ArdupilotMega.Utilities ...@@ -41,7 +41,7 @@ namespace ArdupilotMega.Utilities
// Read and parse the content. // Read and parse the content.
string dataFromAddress = ReadDataFromAddress(parameterLocation); string dataFromAddress = ReadDataFromAddress(parameterLocation);
ParseLibInformation(dataFromAddress, objXmlTextWriter, parameterLocation); ParseGroupInformation(dataFromAddress, objXmlTextWriter, parameterLocation);
ParseParameterInformation(dataFromAddress, objXmlTextWriter); ParseParameterInformation(dataFromAddress, objXmlTextWriter);
// Write the end element for this parameter location // Write the end element for this parameter location
...@@ -58,12 +58,12 @@ namespace ArdupilotMega.Utilities ...@@ -58,12 +58,12 @@ namespace ArdupilotMega.Utilities
} }
/// <summary> /// <summary>
/// Parses the lib information. /// Parses the group parameter information.
/// </summary> /// </summary>
/// <param name="fileContents">The file contents.</param> /// <param name="fileContents">The file contents.</param>
/// <param name="objXmlTextWriter">The obj XML text writer.</param> /// <param name="objXmlTextWriter">The obj XML text writer.</param>
/// <param name="parameterLocation">The parameter location.</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); var parsedInformation = ParseKeyValuePairs(fileContents, ParameterMetaDataConstants.Group);
if (parsedInformation != null && parsedInformation.Count > 0) if (parsedInformation != null && parsedInformation.Count > 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment