Called before a change takes place.

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

Syntax

C#
public void PreChange(
	ChangeEvent ce
)

Parameters

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

[Missing <param name="ce"/> documentation for "M:BioSharp.Core.Utils.ChangeForwarder.PreChange(BioSharp.Core.Utils.ChangeEvent)"]

Implements

IChangeListener..::.PreChange(ChangeEvent)

Remarks

This is your chance to stop the change by throwing a ChangeVetoException. This method does not indicate that the change will definitely take place, so it is not recomended that you take any positive action within this handler.

Exceptions

ExceptionCondition
BioSharp.Core.Utils..::.ChangeVetoExceptionif the receiver does not wish this change to occur at this time.

See Also