Constable Authorization Engine 2.0 BETA

CollectionUpdaterBase.OnValidate Method 

[This is preliminary documentation and subject to change.]

Provides a placeholder for derived classes to implement custom logic when validating an item.

[Visual Basic]
Overridable Public Sub OnValidate( _
   ByVal collection As CollectionBase, _
   ByVal value As Object _
) _
    Implements ICollectionUpdater.OnValidate
[C#]
public virtual void OnValidate(
   CollectionBase collection,
   object value
);

Parameters

collection
The collection that is associated with this updater.
value
The item being validated.

Implements

ICollectionUpdater.OnValidate

Exceptions

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

See Also

CollectionUpdaterBase Class | LaMarvin.ComponentModel Namespace