예제 #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);
 }
예제 #2
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);
 }