protected void ClearItemsList () { foreach (ListItemProvider provider in Items) provider.Terminate (); items.Clear (); }