コード例 #1
0
ファイル: Assert.cs プロジェクト: yuxi214/Razor
 public FileFoundException(MSBuildResult result, string filePath)
     : base(result)
 {
     FilePath = filePath;
 }
コード例 #2
0
ファイル: Assert.cs プロジェクト: jcagme/AspNetCore
 public NupkgFileMissingException(MSBuildResult result, string nupkgPath, string filePath)
     : base(result)
 {
     NupkgPath = nupkgPath;
     FilePath  = filePath;
 }
コード例 #3
0
ファイル: Assert.cs プロジェクト: yuxi214/Razor
 public BuildOutputMissingException(MSBuildResult result, string match)
     : base(result)
 {
     Match = match;
 }
コード例 #4
0
ファイル: Assert.cs プロジェクト: yuxi214/Razor
 public BuildOutputContainsLineException(MSBuildResult result, string match)
     : base(result)
 {
     Match = match;
 }
コード例 #5
0
ファイル: Assert.cs プロジェクト: yuxi214/Razor
 public BuildPassedException(MSBuildResult result)
     : base(result)
 {
 }
コード例 #6
0
ファイル: Assert.cs プロジェクト: yuxi214/Razor
 public BuildFailedException(MSBuildResult result)
     : base(result)
 {
 }
コード例 #7
0
ファイル: Assert.cs プロジェクト: yuxi214/Razor
 public BuildErrorMissingException(MSBuildResult result, string errorCode, string location)
     : base(result)
 {
     ErrorCode = errorCode;
     Location  = location;
 }
コード例 #8
0
ファイル: Assert.cs プロジェクト: yuxi214/Razor
 protected MSBuildXunitException(MSBuildResult result)
 {
     Result = result;
 }
コード例 #9
0
 private static BootJsonData ReadBootJsonData(MSBuildResult result, string path)
 {
     return(JsonSerializer.Deserialize <BootJsonData>(
                File.ReadAllText(Path.Combine(result.Project.DirectoryPath, path)),
                new JsonSerializerOptions(JsonSerializerDefaults.Web)));
 }