Exemplo n.º 1
0
        public virtual bool IsEqual(Base b){
            Console.WriteLine(b.GetType().GetProperties().Length);
            foreach(PropertyInfo pi in b.GetType().GetProperties()){

            }

            return false;
        }
Exemplo n.º 2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="temp"></param>
 public MyList(IList temp, Base b){
     this.m_base = b;
     foreach(object obj in temp){
         this.m_contents.Add(obj);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="b">使用Mylist的Base对象</param>
 public MyList(Base b){
     this.m_contents = new List<object>();
     this.m_base = b;
 }