Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramEngine > Classes > TRSGPInstruction<T> > Methods
TRSGPInstruction<T>.AssignEvents(TPersistent) Method
Copies the event handlers in the Source object to the instructions events
Namespace: RSGenerics.GeneticProgramEngine
Delphi
public procedure AssignEvents(Source: TPersistent); virtual;
Parameters
Source
Type: TPersistent
•RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.OnExecute
•RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.OnInitialize
•TRSGPInstruction<T>
•RSGenerics.GeneticProgramEngine