Inheritance: System.Attribute
Beispiel #1
0
		public void CtorTest ()
		{
			DependsOnAttribute attr = new DependsOnAttribute ("name");
			Assert.AreEqual ("name", attr.Name);

			attr = new DependsOnAttribute (null);
			Assert.IsNull (attr.Name);
		}
Beispiel #2
0
		public void TypeId ()
		{
			DependsOnAttribute attr = new DependsOnAttribute ("name");
			Assert.AreSame (attr, attr.TypeId);
		}