3 namespace Tizen.NUI.Binding
5 internal abstract class Condition
7 Action<BindableObject, bool, bool> _conditionChanged;
15 internal Action<BindableObject, bool, bool> ConditionChanged
17 get { return _conditionChanged; }
20 if (_conditionChanged == value)
22 if (_conditionChanged != null)
23 throw new InvalidOperationException("The same condition instance can not be reused");
24 _conditionChanged = value;
28 internal bool IsSealed
30 get { return _isSealed; }
33 if (_isSealed == value)
36 throw new InvalidOperationException("What is sealed can not be unsealed.");
42 internal abstract bool GetState(BindableObject bindable);
44 internal virtual void OnSealed()
48 internal abstract void SetUp(BindableObject bindable);
49 internal abstract void TearDown(BindableObject bindable);