Esempio n. 1
0
 public void AddItem()
 {
     if (lastElement != null)
     {
         RuntimeChainElement element = new RuntimeChainNewItem();
         lastElement.Next = element;
         lastElement      = element;
     }
     else
     {
         Chain = lastElement = new RuntimeChainNewItem();
     }
 }
Esempio n. 2
0
		public void AddItem()
		{
			if (lastElement != null)
			{
				RuntimeChainElement element = new RuntimeChainNewItem();
				lastElement.Next = element;
				lastElement = element;
			}
			else Chain = lastElement = new RuntimeChainNewItem();
		}