예제 #1
0
 public Orderlist()
 {
     if (_class != null)
     {
         throw new Exception("Class already exists!");
     }
     _class     = this;
     this._list = new List <OrderlistItem>();
 }
예제 #2
0
 public void ClearClass()
 {
     _class = null;
     _list  = null;
 }
예제 #3
0
 public static void Reset()
 {
     _class = null;
 }