Constable Authorization Engine 2.0 BETA

CollectionUpdaterBase.OnValidateCollection Method 

[This is preliminary documentation and subject to change.]

Provides a placeholder for derived classes to check the collection argument when calling the OnInsert, OnInsertComplete, OnRemove, OnRemoveComplete, OnClear, OnClearComplete and OnValidate methods.

[Visual Basic]
Overridable Protected Sub OnValidateCollection( _
   ByVal collection As CollectionBase _
)
[C#]
protected virtual void OnValidateCollection(
   CollectionBase collection
);

Parameters

collection
The collection being validated.

Remarks

The CollectionUpdaterBase class verifies that the passed-in collection is not a null reference (Nothing in Visual Basic).

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