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