BootstrapComponents.Tests.Core.HtmlAttributesTests.CreateFromAnonymousObject C# (CSharp) Метод

CreateFromAnonymousObject() приватный Метод

private CreateFromAnonymousObject ( ) : void
Результат void
        public void CreateFromAnonymousObject()
        {
            var attributes = new HtmlAttributes(new {
                    text = "some text",
                    num = 123
                });
            Assert.AreEqual("num=\"123\" text=\"some text\"", attributes.ToString());
        }