Here are the examples of the csharp api class System.Collections.CollectionBase.OnClear() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
6 Examples
0
1. Example
Project: Krypton
Source File: KryptonCheckSet.cs
Source File: KryptonCheckSet.cs
protected override void OnClear() { foreach(KryptonCheckButton checkButton in base.List) _owner.CheckButtonRemoved(checkButton); base.OnClear(); }
0
2. Example
Project: referencesource
Source File: collectionbase.cs
Source File: collectionbase.cs
public void Clear() { OnClear(); InnerList.Clear(); OnClearComplete(); }
0
3. Example
Project: referencesource
Source File: WebPartConnectionCollection.cs
Source File: WebPartConnectionCollection.cs
protected override void OnClear() { CheckReadOnly(); base.OnClear(); }
0
4. Example
Project: referencesource
Source File: WebPartTransformerCollection.cs
Source File: WebPartTransformerCollection.cs
protected override void OnClear() { CheckReadOnly(); base.OnClear(); }
0
5. Example
Project: referencesource
Source File: ProxyWebPartConnectionCollection.cs
Source File: ProxyWebPartConnectionCollection.cs
protected override void OnClear() { CheckReadOnly(); if (_webPartManager != null) { // Remove all of the connections in this collection from the main WebPartManager foreach (WebPartConnection connection in this) { _webPartManager.StaticConnections.Remove(connection); } } base.OnClear(); }
0
6. Example
Project: SharpLang
Source File: CollectionBase.cs
Source File: CollectionBase.cs
public void Clear() { OnClear(); InnerList.Clear(); OnClearComplete(); }