aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common/FSESettings.cs
blob: 24a08c55e0fce521919f1288016984a409d6a95d (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
48
49
50
51
52
53
54
55
56
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Settings;

namespace Tango.FSE.Common
{
    public class FSESettings : SettingsBase
    {
        public enum WorkingEnvironment
        {
            Remote,
            Local
        }

        /// <summary>
        /// Gets or sets the working environment.
        /// </summary>
        public WorkingEnvironment Environment { get; set; }

        /// <summary>
        /// Gets or sets the last login email.
        /// </summary>
        public String LastLoginEmail { get; set; }

        /// <summary>
        /// Gets or sets the last login password.
        /// </summary>
        public String LastLoginPassword { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether to save the user credentials.
        /// </summary>
        public bool RememberMe { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether to force the application version update.
        /// </summary>
        public bool ForceVersionUpdate { get; set; }

        /// <summary>
        /// Gets or sets the last environment identifier.
        /// </summary>
        public String LastEnvironmentId { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="FSESettings"/> class.
        /// </summary>
        public FSESettings()
        {
            Environment = WorkingEnvironment.Remote;
        }
    }
}