private CharGrouping Append(CharGrouping value) { if (value == null) throw new ArgumentNullException(nameof(value)); CharGrouping first = value; while (first.Previous != null) first = first.Previous; first.Previous = this; return value; }
private CharGrouping Append(CharGrouping value) { if (value == null) { throw new ArgumentNullException(nameof(value)); } CharGrouping first = value; while (first.Previous != null) { first = first.Previous; } first.Previous = this; return(value); }
internal static CharGrouping Character(CharGrouping value) { return new CharGrouping.CharGroupingCharGrouping(value); }
internal static CharGroup Create(CharGrouping value, bool negative) { return(new CharGroupingCharGroup(value, negative)); }
public CharGroupingCharGrouping(CharGrouping value) { if (value == null) throw new ArgumentNullException(nameof(value)); _value = value; }
internal static CharGrouping Character(CharGrouping value) { return(new CharGrouping.CharGroupingCharGrouping(value)); }
public CharGroupingCharGrouping(CharGrouping value) { _value = value ?? throw new ArgumentNullException(nameof(value)); }
/// <summary> /// Appends the text representation of the pattern to this instance. /// </summary> /// <param name="value">The pattern to append.</param> /// <exception cref="ArgumentNullException"><paramref name="value"/> is <c>null</c>.</exception> public void Append(CharGrouping value) { AppendCharGroup(value); }
internal void AppendCharGroup(CharGrouping value, bool negative) { if (value == null) throw new ArgumentNullException(nameof(value)); AppendCharGroupStart(negative); value.AppendContentTo(this); AppendCharGroupEnd(); }
/// <summary> /// Appends a negative character group containing specified <see cref="CharGrouping"/>. /// </summary> /// <param name="value">A content of a character group.</param> /// <exception cref="ArgumentNullException"><paramref name="value"/> is <c>null</c>.</exception> public void AppendNegativeCharGroup(CharGrouping value) { AppendCharGroup(value, true); }
public CharGroupingCharGroup(CharGrouping value, bool negative) { if (value == null) throw new ArgumentNullException(nameof(value)); _item = value; Negative = negative; }
public CharGroupingCharGroup(CharGrouping value, bool negative) { _item = value ?? throw new ArgumentNullException(nameof(value)); Negative = negative; }