aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SQLExaminer/ExaminerConfiguration.cs
blob: 71d48d06753b2adda57b4c1e032b9dc8b3ade343 (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
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Tango.SQLExaminer
{
    [XmlRoot("config")]
    public class ExaminerConfiguration : ExaminerSerializedObject<ExaminerConfiguration>
    {
        [XmlAttribute("version")]
        public int Version { get; set; }

        [XmlAttribute("maker")]
        public String Maker { get; set; }

        public List<DataSource> DataSources { get; set; }

        public List<Action> Actions { get; set; }

        public Options Options { get; set; }

        public Objects Objects { get; set; }

        [XmlIgnore]
        public ExaminerConfigurationType ConfigurationType { get; set; }

        public ExaminerConfiguration()
        {
            Version = 2;
            Maker = "Twine";
            DataSources = new List<DataSource>();
            Actions = new List<Action>();
            Options = new Options();
            Objects = new Objects();
        }
    }
}