protected override void AttachCore() { Test.Attach(); if (Test.Value) { True.Attach(); } else { False.Attach(); } }
public TaggedObservableValue(INotifyExpression <T> expression, TTag tag) { if (expression == null) { throw new ArgumentNullException("expression"); } Expression = expression; Tag = tag; expression.Attach(); expression.ValueChanged += (o, e) => ValueChanged?.Invoke(this, e); }
internal NotifyValue(INotifyExpression <T> expression) { if (expression == null) { throw new ArgumentNullException("expression"); } Expression = expression; if (!expression.IsAttached) { expression.Attach(); } expression.ValueChanged += ExpressionValueChanged; }
protected override void AttachCore() { Target.Attach(); }
protected override void AttachCore() { Left.Attach(); Right.Attach(); }