/// <summary> /// When overridden in a child class, operates on the specified action. /// </summary> /// <param name="file">The media library file to operate on.</param> protected virtual void ActOnObject(IMediaFile file) { this.WriteObject(file.UndoActLike()); }