Click or drag to resize

IOListTSubscribeToTargetRangeEvent Method

Register event with this handler to be notified when the state of this AIOLines in the list changes more than the specified delta value away from the specified target value. If IOlines are subsequently added or removed then the events will also be applied The same event cannot be added twice (function will return and do nothing) The event can be unregistered using the UnsubscribeToTargetRangeEvents

Namespace: Brainboxes.IO
Assembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: (
public void SubscribeToTargetRangeEvent(
	ref AIOLineChangedEventHandler function,
	double target,
	double delta


function  AIOLineChangedEventHandler
Function to be run when event is triggered
target  Double
Target value over or below which the event is triggered
delta  Double
Delta to the target value
See Also