コード例 #1
0
 /// <summary>
 /// Extends Insert.BeforeOccurrence action with the ability to change starting point.
 /// </summary>
 /// <param name="position">
 /// Position in source string to start from. Beginning or End value can be used.
 /// </param>
 /// <exception cref="ArgumentOutOfRangeException">Thrown when StartOf or EndOf position value is used.</exception>
 public static InsertStringBeforeOccurrenceFrom From(this InsertStringBeforeOccurrence source, The position)
 {
     return(new InsertStringBeforeOccurrenceFrom(source, position));
 }
コード例 #2
0
 /// <summary>
 /// Extends Insert.BeforeOccurrence action with the ability to ignore case.
 /// </summary>
 public static InsertStringBeforeOccurrenceIgnoringCase IgnoringCase(this InsertStringBeforeOccurrence source)
 {
     return(new InsertStringBeforeOccurrenceIgnoringCase(source));
 }