Пример #1
0
 private void AddNewDelimiter(string delimiter)
 {
     if (!AcceptableDelimiters.Contains(delimiter))
     {
         AcceptableDelimiters.Add(delimiter);
     }
 }
Пример #2
0
 /// <summary>
 /// Replace the Newline (\n) delimiter with an optional argument delimiter
 /// </summary>
 /// <param name="delimiter"></param>
 public void ReplaceAlternativeDelimiterWithArgumentDelimiter(string delimiter)
 {
     if (AcceptableDelimiters.Contains(@"\n"))
     {
         AcceptableDelimiters.Remove(@"\n");
     }
     AddNewDelimiter(delimiter);
 }