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());
        }