public override string GetValue() { string charSet = InputCharacters.GetValue(); if (String.IsNullOrEmpty(charSet)) { return(UpdateCache("")); } string prefix = InputDoInvert.IsChecked ? "^" : ""; string result = "[" + prefix + charSet + "]"; return(UpdateCache(result)); }
protected override NodeResultBuilder GetValue() { string charSet = InputCharacters.GetValue(); string prefix = InputDoInvert.Checked ? "^" : ""; string result = "[" + prefix + charSet + "]"; string suffix = GetSuffix(this); var builder = new NodeResultBuilder(); builder.Append(result, this); builder.Append(suffix, this); return(builder); }
protected override NodeResultBuilder GetValue() { string charSet = InputCharacters.GetValue(); string prefix = InputDoInvert.IsChecked ? "^" : ""; string result = "[" + prefix + charSet + "]"; string suffix = GetSuffix( InputCount.Value, InputNumber.InputContents, InputMin.GetValue(), InputMax.GetValue()); var builder = new NodeResultBuilder(); builder.Append(result, this); builder.Append(suffix, this); return(builder); }
protected override string GetValue() { string charSet = InputCharacters.GetValue(); if (String.IsNullOrEmpty(charSet)) { return(UpdateCache("")); } string prefix = InputDoInvert.IsChecked ? "^" : ""; string result = "[" + prefix + charSet + "]"; string suffix = Quantifier.Repetitions.GetSuffix( InputCount.DropdownValue, InputNumber.InputContents, InputMin.GetValue(), InputMax.GetValue()); return(UpdateCache(result + suffix)); }