Inheritance: System.Attribute
コード例 #1
0
ファイル: DependsOnAttributeTest.cs プロジェクト: nobled/mono
		public void CtorTest ()
		{
			DependsOnAttribute attr = new DependsOnAttribute ("name");
			Assert.AreEqual ("name", attr.Name);

			attr = new DependsOnAttribute (null);
			Assert.IsNull (attr.Name);
		}
コード例 #2
0
ファイル: DependsOnAttributeTest.cs プロジェクト: nobled/mono
		public void TypeId ()
		{
			DependsOnAttribute attr = new DependsOnAttribute ("name");
			Assert.AreSame (attr, attr.TypeId);
		}