public void Clear() { _hasCleared = true; _consoleEntries.Clear(); ErrorCount = WarningCount = InfoCount = 0; OnUpdated(); }
public void OnBeforeSerialize() { if (_keys == null) { _keys = new SRList <TKey>(_internalDict.Count); } if (_values == null) { _values = new SRList <TValue>(_internalDict.Count); } _keys.Clear(true); _values.Clear(true); _keys.AddRange(_internalDict.Keys); _values.AddRange(_internalDict.Values); }
public void ClearItems() { for (var i = _visibleRows.Count - 1; i >= 0; i--) { InvalidateItem(_visibleRows[i].Index); } _itemList.Clear(); SetDirty(); }