Exemplo n.º 1
0
 public void Clear()
 {
     First = null;
     OnClear(this, new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
 }
Exemplo n.º 2
0
 public void AddFirst(object item)
 {
     var node = new LinkedListNode(item) { Next = First };
     First = node;
     OnInsert(this, new CollectionChangeEventArgs(CollectionChangeAction.Add, item));
 }