コード例 #1
0
ファイル: TestClassHierarchy.cs プロジェクト: cccnam5158/reef
 public ClazzA([Parameter(typeof(ClazzB))] ClazzB objectB)
 {
     this.objectB = objectB;
 }
コード例 #2
0
 public string Visit(ClazzB item)
 {
     return("Description B");
 }
コード例 #3
0
    public static void Main()
    {
        dynamic test = new ClazzB();

        GetDecription(test);
    }
コード例 #4
0
 public static void GetDecription(ClazzB someClazz)
 {
     Debug.WriteLine("I want to be here");
 }
コード例 #5
0
 public override string Visit(ClazzB b)
 {
     return("B");
 }
コード例 #6
0
 public abstract string Visit(ClazzB b);