aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Editors/AttachedElementsEditorsUndoRedoState.cs
blob: be65f2994f0b2fd059b3a756e6f22d8e86adfa4b (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
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 attached <see cref="ElementsEditor"/> undo/redo state.
    /// </summary>
    /// <seealso cref="Tango.Editors.IUndoRedoState" />
    public class AttachedElementsEditorsUndoRedoState : IUndoRedoState
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="AttachedElementsEditorsUndoRedoState"/> class.
        /// </summary>
        public AttachedElementsEditorsUndoRedoState()
        {
            ElementsSetups1 = new List<KeyValuePair<IElementEditor, List<AnimationSetup>>>();
            ElementsSetups2 = new List<KeyValuePair<IElementEditor, List<AnimationSetup>>>();
        }

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

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

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