Artificial Mind Help

GeneCollection.OnValidate Method 

Validates an element to insert.

protected override void OnValidate(
   object value
);

Parameters

value
The candidate for insertion.

Exceptions

Exception TypeCondition
ArgumentExceptionThrows ArgumentException if value is not Gene type.

See Also

GeneCollection Class | AnticipatingMinds.ArtificialMind.GeneticAlgorithms Namespace