aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Scripting/CompilerError.cs
blob: 1f3705b23b8c880df94ef1fa47fb8f4eb56da303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Scripting
{
    public class CompilerError
    {
        public String File { get; set; }
        public String Error { get; set; }
        public int Line { get; set; }
        public int Character { get; set; }

        public override string ToString()
        {
            return String.Format("{0}  {1} ({2},{3})", Error, File, Line, Character);
        }
    }
}
an class="w"> /// <summary> /// Gets or sets the machine password. /// </summary> public String Password { get; set; } /// <summary> /// Gets or sets the intent. /// </summary> public ExternalBridgeLoginIntent Intent { get; set; } /// <summary> /// Gets or sets the login command. /// </summary> public RelayCommand<String> LoginCommand { get; set; } /// <summary> /// Gets or sets the cancel command. /// </summary> public RelayCommand CancelCommand { get; set; } /// <summary> /// Initializes a new instance of the <see cref="MachineLoginViewVM"/> class. /// </summary> public MachineLoginViewVM() { Intent = ExternalBridgeLoginIntent.FullControl; LoginCommand = new RelayCommand<string>(Login); CancelCommand = new RelayCommand(Cancel); } /// <summary> /// Invoked when user presses the login button. /// </summary> /// <param name="password">The password.</param> private void Login(string password) { Password = password; Accept(); } } }