AmazedSaint.Elastic.Tests.DynamicExtensionsTest.CreateTestXElementWithNamespaces C# (CSharp) Method

CreateTestXElementWithNamespaces() private method

private CreateTestXElementWithNamespaces ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement
        private XElement CreateTestXElementWithNamespaces()
        {
            string data = @"<Store Name=""Acme Store"" xmlns=""http://example.com/store/v1-0"">
            <Location Address= ""West Avenue"" />
            <Products Count=""1""  xmlns=""http://example.com/products/v1-0"">
            <Product Name =""Acme Bun"" />
            </Products>
            <Owner>Content</Owner>
            </Store>";

            return XElement.Parse(data);
        }