File tree Expand file tree Collapse file tree 2 files changed +30
-12
lines changed
src/Dotnet.Script.DependencyModel/ProjectSystem Expand file tree Collapse file tree 2 files changed +30
-12
lines changed Original file line number Diff line number Diff line change
1
+ namespace Dotnet . Script . DependencyModel . ProjectSystem
2
+ {
3
+ /// <summary>
4
+ /// Contains information about the generated project file and
5
+ /// where to find the "nearest" NuGet.Config file.
6
+ /// </summary>
7
+ public class ProjectFileInfo
8
+ {
9
+ /// <summary>
10
+ /// Initializes a new instance of the <see cref="ProjectFileInfo"/> class.
11
+ /// </summary>
12
+ /// <param name="path">The path to the generated project file to be used during restore.</param>
13
+ /// <param name="nugetConfigFile">The path to the nearest NuGet.Config file seen from the target script folder.</param>
14
+ public ProjectFileInfo ( string path , string nugetConfigFile )
15
+ {
16
+ Path = path ;
17
+ NuGetConfigFile = nugetConfigFile ;
18
+ }
19
+
20
+ /// <summary>
21
+ /// Gets the path of the generated project file to be used during restore.
22
+ /// </summary>
23
+ public string Path { get ; }
24
+
25
+ /// <summary>
26
+ /// Gets the path to the nearest NuGet.Config file seen from the target script folder.
27
+ /// </summary>
28
+ public string NuGetConfigFile { get ; }
29
+ }
30
+ }
Original file line number Diff line number Diff line change @@ -135,16 +135,4 @@ public static string GetPathToProjectFile(string targetDirectory)
135
135
return pathToProjectFile ;
136
136
}
137
137
}
138
-
139
- public class ProjectFileInfo
140
- {
141
- public ProjectFileInfo ( string path , string nugetConfigFile )
142
- {
143
- Path = path ;
144
- NuGetConfigFile = nugetConfigFile ;
145
- }
146
-
147
- public string Path { get ; }
148
- public string NuGetConfigFile { get ; }
149
- }
150
138
}
You can’t perform that action at this time.
0 commit comments