aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting/Script.cs
blob: a4cd38c3d4bb97477c4e02eb6db4633b85d4bb10 (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.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace Tango.Scripting
{
    public class Script
    {
        public String Name { get; set; }

        public String File { get; set; }

        public GlobalObject GlobalObject { get; set; }

        public List<ReferenceAssembly> ReferenceAssemblies { get; private set; }

        public List<String> Imports { get; private set; }

        public String Code { get; set; }

        public String WorkingFolder { get; set; }

        public String EntryPoint { get; set; }

        public ApartmentState ApartmentState { get; set; }

        public Script()
        {
            ReferenceAssemblies = new List<ReferenceAssembly>();
            Imports = new List<string>();
            GlobalObject = new GlobalObject();
            File = "Script.cs";
            Name = "Script.cs";
            WorkingFolder = Environment.CurrentDirectory;
            ApartmentState = ApartmentState.MTA;
        }
    }
}