35 references to ValidationReason
System.Data (35)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
66
if (args.Reason !=
ValidationReason
.ModelChange)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
821
validationService.ValidateWorkflow(
ValidationReason
.ModelChange);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (14)
22
private Func<
ValidationReason
, CancellationToken, TValidationResult> validationWork;
29
private
ValidationReason
lastValidationReason;
33
internal BackgroundValidationSynchronizer(TaskDispatcher dispatcher, Func<
ValidationReason
, CancellationToken, TValidationResult> validationWork, Action<TValidationResult> updateWork)
63
internal override void Validate(
ValidationReason
validationReason)
125
Fx.Assert(state is
ValidationReason
, "unusedState should always be a ValidationReason.");
126
ValidationReason
reason = (
ValidationReason
)state;
146
private void ValidationWork(
ValidationReason
reason)
168
public abstract SynchronizerState Validate(
ValidationReason
reason);
186
public override SynchronizerState Validate(
ValidationReason
reason)
223
public override SynchronizerState Validate(
ValidationReason
reason)
263
public override SynchronizerState Validate(
ValidationReason
reason)
303
public override SynchronizerState Validate(
ValidationReason
reason)
343
public override SynchronizerState Validate(
ValidationReason
reason)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ForegroundValidationSynchronizer.cs (3)
15
private Func<
ValidationReason
, CancellationToken, TValidationResult> validationWork;
18
internal ForegroundValidationSynchronizer(TaskDispatcher dispatcher, Func<
ValidationReason
, CancellationToken, TValidationResult> validationWork, Action<TValidationResult> updateWork)
29
internal override void Validate(
ValidationReason
reason)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (13)
56
ValidationReason
reason;
61
ValidationReason
reason,
76
public
ValidationReason
Reason
164
this.validationSynchronizer = new BackgroundValidationSynchronizer<Tuple<
ValidationReason
, ValidationResults, Exception>>(validationTaskDispatcher, this.CoreValidationWork, this.OnValidationWorkCompleted);
168
this.validationSynchronizer = new ForegroundValidationSynchronizer<Tuple<
ValidationReason
, ValidationResults, Exception>>(validationTaskDispatcher, this.CoreValidationWork, this.OnValidationWorkCompleted);
314
ValidateWorkflow(
ValidationReason
.Unknown);
357
internal void ValidateWorkflow(
ValidationReason
reason)
381
internal Tuple<
ValidationReason
, ValidationResults, Exception> CoreValidationWork(
ValidationReason
reason, CancellationToken cancellationToken)
407
private void OnValidationWorkCompleted(Tuple<
ValidationReason
, ValidationResults, Exception> input)
409
ValidationReason
reason = input.Item1;
597
private bool MarkErrors(ICollection<ValidationError> errors,
ValidationReason
reason, Activity rootActivity)
700
private bool HandleErrorsMarked(ICollection<ValidationError> errors,
ValidationReason
reason)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationSynchronizer.cs (1)
9
internal abstract void Validate(
ValidationReason
reason);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
411
this.ValidationService.ValidateWorkflow(
ValidationReason
.Load);
586
this.ValidationService.ValidateWorkflow(
ValidationReason
.Save);