Tmx.Core.TestResultsExporter.generateTestPlatformXelement C# (CSharp) Method

generateTestPlatformXelement() private method

private generateTestPlatformXelement ( string platformNodeName, ITestPlatform platform ) : System.Xml.Linq.XElement
platformNodeName string
platform ITestPlatform
return System.Xml.Linq.XElement
        XElement generateTestPlatformXelement(string platformNodeName, ITestPlatform platform)
        {
            return new XElement(platformNodeName,
                new XAttribute("uniqueId", platform.UniqueId),
                new XAttribute("id", platform.Id ?? string.Empty),
                new XAttribute("name", platform.Name ?? string.Empty),
                CreateXattribute("description", platform.Description ?? string.Empty) //,
                
//                new XAttribute("created", platform.Created)
            );
        }