aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Console/ConsoleCommand.cs
blob: 033851932849e7c6b709c10261a5244d229af610 (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
42
43
44
45
46
47
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;

namespace Tango.Console
{
    public class ConsoleCommand : ExtendedObject
    {
        private String _workingFolder;
        public String WorkingFolder
        {
            get { return _workingFolder; }
            set { _workingFolder = value; RaisePropertyChangedAuto(); }
        }

        private String _commandText;
        public String CommandText
        {
            get { return _commandText; }
            set { _commandText = value; RaisePropertyChangedAuto(); }
        }

        private bool _isExecuting;
        public bool IsExecuting
        {
            get { return _isExecuting; }
            internal set { _isExecuting = value; RaisePropertyChangedAuto(); }
        }

        private String _output;
        public String Output
        {
            get { return _output; }
            internal set { _output = value; RaisePropertyChangedAuto(); }
        }

        private bool _isFromHistory;
        public bool IsFromHistory
        {
            get { return _isFromHistory; }
            set { _isFromHistory = value; RaisePropertyChangedAuto(); }
        }
    }
}