コード例 #1
0
ファイル: ToolScriptTests.cs プロジェクト: langpavel/LPS-old
 public void ConversionTests()
 {
     AA a = new AA();
     BB b = new BB();
     Assert.AreEqual(true, b.GetType().IsSubclassOf(a.GetType()));
     Assert.AreEqual(false, b.GetType().IsSubclassOf(b.GetType()));
     //Convert.ChangeType(b, typeof(AA));
 }