The OnParametersChanged event is triggered wherever there is a change in the block's input parameters by its parent.
It would be good if the block's input parameters had an option that, when set to true, wouldn't trigger the OnParametersChanged event.