aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Editors/ElementsEditorUndoRedoState.cs
blob: 406ded0247a8bf85f403420c93780999d88cbd60 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Editors;

namespace Tango.Editors
{
    /// <summary>
    /// Represents an <see cref="ElementsEditor"/> undo/redo state.
    /// </summary>
    /// <seealso cref="Tango.Editors.IUndoRedoState" />
    public class ElementsEditorUndoRedoState : IUndoRedoState
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ElementsEditorUndoRedoState"/> class.
        /// </summary>
        public ElementsEditorUndoRedoState()
        {
            ElementsSetups = new List<KeyValuePair<IElementEditor, List<AnimationSetup>>>();
        }

        /// <summary>
        /// Gets or sets the animation setups which will determine the <see cref="IElementEditor"/> configuration.
        /// </summary>
        public List<KeyValuePair<IElementEditor,List<AnimationSetup>>> ElementsSetups { get; set; }

        /// <summary>
        /// Gets or sets the undo/redo creation date time.
        /// </summary>
        public DateTime Date { get; set; }
    }
}