Example #1
0
 /// <summary>
 /// Deletes the token from the buffer
 /// </summary>
 /// <param name="buffer">Buffer to update</param>
 /// <param name="tokenToDelete">token to delete</param>
 public virtual void DeleteTokens(ref string buffer, DeleteToken tokenToDelete)
 {
     buffer = buffer.Replace(tokenToDelete.StringToDelete, string.Empty);
 }
 /// <summary>
 /// Deletes the token from the buffer
 /// </summary>
 /// <param name="buffer">Buffer to update</param>
 /// <param name="tokenToDelete">token to delete</param>
 public virtual void DeleteTokens(ref string buffer, DeleteToken tokenToDelete)
 {
     buffer = buffer.Replace(tokenToDelete.StringToDelete, string.Empty);
 }