12 references to ValidationBuildExtension
Microsoft.Activities.Build (12)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (2)
39
string deferredValidationErrorsFilePath = Path.Combine(this.buildContext.OutputPath,
ValidationBuildExtension
.DeferredValidationErrorsFileName);
42
List<
ValidationBuildExtension
.Violation> violations = ReportDeferredValidationErrorsTask.LoadDeferredValidationErrors(deferredValidationErrorsFilePath);
Microsoft\Activities\Build\Validation\DeferredValidationTask.cs (3)
38
List<
ValidationBuildExtension
.Violation> violations = ReportDeferredValidationErrorsTask.LoadDeferredValidationErrors(this.DeferredValidationErrorsFilePath);
51
private static bool ErrorExists(List<
ValidationBuildExtension
.Violation> violations)
55
foreach (
ValidationBuildExtension
.Violation violation in violations)
Microsoft\Activities\Build\Validation\ReportDeferredValidationErrorsTask.cs (6)
38
List<
ValidationBuildExtension
.Violation> violations = LoadDeferredValidationErrors(this.DeferredValidationErrorsFilePath);
42
foreach (
ValidationBuildExtension
.Violation violation in violations)
52
internal static List<
ValidationBuildExtension
.Violation> LoadDeferredValidationErrors(string filePath)
54
List<
ValidationBuildExtension
.Violation> violations = null;
57
DataContractSerializer serializer = new DataContractSerializer(typeof(List<
ValidationBuildExtension
.Violation>));
58
violations = (List<
ValidationBuildExtension
.Violation>)serializer.ReadObject(stream);
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (1)
146
ValidationError error = new ValidationError(SR.ValidationBuildExtensionExceptionPrefix(typeof(
ValidationBuildExtension
).Name, activity.DisplayName, e.Message));