aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Editors/ElementsEditorUndoRedoExecutedEventArgs.cs
blob: 01c680c888a9711c18e78f2e48b23852a316d18e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Editors;

namespace Tango.Editors
{
    /// <summary>
    /// Represents a <see cref="ElementsEditorUndoRedoStatesProvider"/> event arguments
    /// </summary>
    /// <seealso cref="System.EventArgs" />
    public class ElementsEditorUndoRedoExecutedEventArgs : UndoRedoStateExecutedEventArgs
    {
        /// <summary>
        /// Gets or sets the restored elements.
        /// </summary>
        public List<IElementEditor> RestoredElements { get; set; }

        /// <summary>
        /// Gets or sets the removed elements.
        /// </summary>
        public List<IElementEditor> RemovedElements { get; set; }

        /// <summary>
        /// Gets or sets the modified elements.
        /// </summary>
        public List<IElementEditor> ModifiedElements { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="ElementsEditorUndoRedoExecutedEventArgs"/> class.
        /// </summary>
        public ElementsEditorUndoRedoExecutedEventArgs()
        {
            RestoredElements = new List<IElementEditor>();
            RemovedElements = new List<IElementEditor>();
            ModifiedElements = new List<IElementEditor>();
        }
    }
}