public TriggerAsScalar(TriggerInput trigger) : base(trigger, Calculate) { }
public TriggerInput And(TriggerInput other) { return(new TriggerInput($"{name}+{other.name}", new Combinator <bool, bool, bool>(this, other, (v1, v2) => v1 && v2))); }