Exemplo n.º 1
0
        //public void VisitMethodStart(DB_Type type, DB_Member member)
        //{
        //    //throw new NotImplementedException();
        //}

        //public void VisitMethodEnd(DB_Type type, DB_Member member)
        //{
        //    //throw new NotImplementedException();
        //}

        public void VisitType(DB_Type type)
        {
            foreach (var m in type.members.Values)
            {
                model.AcceptMemberVisitor(this, type, m);
            }
        }
Exemplo n.º 2
0
 public void VisitType(DB_Type type)
 {
     if (!type.base_type.IsVoid)
     {
         result.Add(type.base_type);
     }
     foreach (var i in type.interfaces)
     {
         result.Add(i);
     }
     foreach (var m in type.members.Values)
     {
         model.AcceptMemberVisitor(this, type, m);
     }
 }