-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathSolutionInfo.cs
More file actions
43 lines (43 loc) · 835 Bytes
/
Copy pathSolutionInfo.cs
File metadata and controls
43 lines (43 loc) · 835 Bytes
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
using System;
using System.Collections.Generic;
using System.IO;
namespace OpenQuant.API.Engine
{
public class SolutionInfo
{
private List<ProjectInfo> projects;
public ProjectInfoList Projects
{
get
{
return new ProjectInfoList(this.projects);
}
}
public FileInfo SolutionFile
{
get;
private set;
}
public FileInfo ScenarioFile
{
get;
private set;
}
public string Name
{
get;
private set;
}
internal SolutionInfo(string name, FileInfo solutionFile, FileInfo scenarioFile)
{
this.Name = name;
this.SolutionFile = solutionFile;
this.ScenarioFile = scenarioFile;
this.projects = new List<ProjectInfo>();
}
private void Add(string name, FileInfo projectFile, FileInfo codeFile)
{
this.projects.Add(new ProjectInfo(name, projectFile, codeFile));
}
}
}