public ConditionCompare(ValueProviderBase?valueProvider, string operation, string value, Action <bool, string> addError) { this.ValueProvider = valueProvider; this.Operation = FilterValueConverter.ParseOperation(operation); this.Value = value; ValueProvider?.ValidateConditionValue(value, Operation, addError); }
internal AnyNode(INodeProvider nodeProvider, ValueProviderBase valueProvider, string operation, string value, Action <bool, string> addError) : base(nodeProvider) { this.ValueProvider = valueProvider; this.Operation = FilterValueConverter.ParseOperation(operation); this.Value = value; ValueProvider?.ValidateConditionValue(value, Operation, addError); }
internal IfNode(ValueProviderBase valueProvider, string operation, string value, Action <bool, string> addError) { this.ValueProvider = valueProvider; this.Operation = FilterValueConverter.ParseOperation(operation); this.Value = value; ValueProvider.ValidateConditionValue(value, Operation, addError); this.IfBlock = new BlockNode(this); }
internal IfNode(ValueProviderBase valueProvider, string operation, string value, Action<bool, string> addError) { this.ValueProvider = valueProvider; this.Operation = FilterValueConverter.ParseOperation(operation); this.Value = value; ValueProvider.ValidateConditionValue(value, Operation, addError); }