Exemple #1
0
 /* ----------------------------------------------------------------- */
 ///
 /// 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));
Exemple #2
0
 /* ----------------------------------------------------------------- */
 ///
 /// 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());