aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.UI/DemoMode/DefaultDemoModeManager.cs
blob: 5f0ae1c0b90f467c6a28649d9e38c5dba35e42eb (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
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.FSE.Common.DemoMode;

namespace Tango.FSE.UI.DemoMode
{
    public class DefaultDemoModeManager : IDemoModeManager
    {
        public ObservableCollection<DemoModeCommand> DemoCommands { get; private set; }

        public DefaultDemoModeManager()
        {
            DemoCommands = new ObservableCollection<DemoModeCommand>();
        }

        public void InsertCommand(Action action, string name, string description)
        {
            DemoCommands.Add(DemoModeCommand.Create(action, name, description));
        }
    }
}