Constable Authorization Engine 2.0 BETA

CollectionUpdaterBase.OnClear Method 

[This is preliminary documentation and subject to change.]

Provides a placeholder for derived classes to implement validation logic when removing all items from the associated collection.

[Visual Basic]
Overridable Public Sub OnClear( _
   ByVal collection As CollectionBase _
) _
    Implements ICollectionUpdater.OnClear
[C#]
public virtual void OnClear(
   CollectionBase collection
);

Parameters

collection
The collection that is associated with this updater.

Implements

ICollectionUpdater.OnClear

Remarks

Note Always call this base class method in your derived classes.

Exceptions

Exception Type Condition
ArgumentNullException A a null reference (Nothing in Visual Basic) was passed as the collection argument value.

See Also

CollectionUpdaterBase Class | LaMarvin.ComponentModel Namespace