SingleInputOperation.ClearInput Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Logic.Abstract Namespace > SingleInputOperation Class > SingleInputOperation Methods >

SingleInputOperation.ClearInput Method

Clears the current input by unsubscribing from the value changed event and setting the input to null.

Namespace: BNCS.Logic.Abstract
Assembly:  BNCS.Logic (in BNCS.Logic.dll)

 

Syntax


public void ClearInput()

 

Remarks


This method detaches the event handler from the input's OnValueChanged event to prevent any further event triggering, and then sets the input to null. After clearing the input, it calls the Execute method to perform any necessary follow-up actions.

 

See Also


SingleInputOperation Class

BNCS.Logic.Abstract Namespace