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

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