/// <summary> /// Clone this instance. /// </summary> /// <returns>A clone of this instance</returns> public override BaseRenameOperation Clone() { var clone = new RemoveCharactersOperation(this); return(clone); }
/// <summary> /// Initializes a new instance of the <see cref="RedBlueGames.BulkRename.RemoveCharactersOperation"/> class. /// This is a clone constructor, copying the values from one to another. /// </summary> /// <param name="operationToCopy">Operation to copy.</param> public RemoveCharactersOperation(RemoveCharactersOperation operationToCopy) { this.Initialize(); this.Options = operationToCopy.Options; }
/// <summary> /// Initializes a new instance of the <see cref="RedBlueGames.BulkRename.RemoveCharactersOperation"/> class. /// </summary> /// <param name="operationToCopy">Operation to copy.</param> public RemoveCharactersOperation(RemoveCharactersOperation operationToCopy) { this.Characters = operationToCopy.Characters; this.IsCaseSensitive = operationToCopy.IsCaseSensitive; }