Return the new event to represent the originating event ce.

Namespace:  BioSharp.Core.Bio
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)

Syntax

C#
protected override ChangeEvent GenerateEvent(
	ChangeEvent ce
)

Parameters

ce
Type: BioSharp.Core.Utils..::.ChangeEvent
the originating ChangeEvent

Return Value

a new ChangeEvent to pass on, or null if no event should be sent

Remarks

The returned ChangeEvent is the event that will be fired, and should be built from information in the original event. If it is null, then no event will be fired.

The default implementation just constructs a ChangeEvent of the same type that chains back to ce.

Exceptions

ExceptionCondition
BioSharp.Core.Utils..::.ChangeVetoExceptionif for any reason this event can't be handled

See Also