public void CtorPropertyNames()
		{
			var e = new ETagAttribute (new[] { "foo", "bar" });
			Assert.AreEqual (2, e.PropertyNames.Count);
			Assert.AreEqual ("foo", e.PropertyNames[0]);
			Assert.AreEqual ("bar", e.PropertyNames[1]);
		}
Beispiel #2
0
        public void CtorPropertyName()
        {
            var e = new ETagAttribute("tag");

            Assert.AreEqual(1, e.PropertyNames.Count);
            Assert.AreEqual("tag", e.PropertyNames.First());
        }
Beispiel #3
0
        public void CtorPropertyNames()
        {
            var e = new ETagAttribute(new[] { "foo", "bar" });

            Assert.AreEqual(2, e.PropertyNames.Count);
            Assert.AreEqual("foo", e.PropertyNames[0]);
            Assert.AreEqual("bar", e.PropertyNames[1]);
        }
		public void CtorPropertyName()
		{
			var e = new ETagAttribute ("tag");
			Assert.AreEqual (1, e.PropertyNames.Count);
			Assert.AreEqual ("tag", e.PropertyNames.First());
		}