Amido.PreProcessor.Cmd.Tests.PreProcessRunnerTests.GetGroupXml C# (CSharp) Method

GetGroupXml() private method

private GetGroupXml ( string name, string>.IDictionary commands ) : string
name string
commands string>.IDictionary
return string
        private string GetGroupXml(string name, IDictionary<string, string> commands)
        {
            StringBuilder commandsXml = new StringBuilder();
            foreach (var item in commands)
            {
                commandsXml.AppendLine(string.Format(commandXmlMask, item.Key, item.Value));
            }

            return string.Format(groupXmlMask, commandsXml.ToString(), name);
        }
    }