/* ----------------------------------------------------------------- */ /// /// Remove /// /// <summary> /// Removes the selected images. /// </summary> /// /// <param name="src">Source collection.</param> /// /// <returns> /// History item to execute undo and redo actions. /// </returns> /// /* ----------------------------------------------------------------- */ public static HistoryItem Remove(this ImageCollection src) => src.RemoveAt(GetCopiedIndices(src));
/* ----------------------------------------------------------------- */ /// /// Remove /// /// <summary> /// Removes the selected images. /// </summary> /// /// <param name="src">Source collection.</param> /// /// <returns> /// History item to execute undo and redo actions. /// </returns> /// /* ----------------------------------------------------------------- */ public static HistoryItem Remove(this ImageCollection src) => src.RemoveAt(src.GetSelectedIndices());