18 references to ValidationHelpers
System.Workflow.ComponentModel (18)
AuthoringOM\Compiler\Validation\ActivityValidator.cs (2)
30
errors.AddRange(
ValidationHelpers
.ValidateUniqueIdentifiers(activity));
44
ValidationError identifierError =
ValidationHelpers
.ValidateNameProperty("Name", manager, activity.Name);
AuthoringOM\Compiler\Validation\BindValidator.cs (3)
517
ValidationHelpers
.ValidateIdentifier(manager, dsName);
818
if (!bind.Name.StartsWith("/", StringComparison.Ordinal) && !
ValidationHelpers
.IsActivitySourceInOrder(refActivity, activity))
942
validationErrors.AddRange(
ValidationHelpers
.ValidateProperty(manager, refActivity, referencedBind, propertyValidationContext, validationContext));
AuthoringOM\Compiler\Validation\CompositeActivityValidator.cs (1)
46
validationErrors.AddRange(
ValidationHelpers
.ValidateActivity(manager, childActivity));
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (2)
137
errors.AddRange(
ValidationHelpers
.ValidateObject(manager, child));
163
errors.AddRange(
ValidationHelpers
.ValidateObject(manager, propValue));
AuthoringOM\Compiler\Validation\SynchronizationValidator.cs (1)
22
ValidationError error =
ValidationHelpers
.ValidateIdentifier("SynchronizationHandles", manager, handle);
AuthoringOM\Compiler\Validation\Validator.cs (2)
114
errors.AddRange(
ValidationHelpers
.ValidateObject(manager, propertyValue));
123
errors.AddRange(
ValidationHelpers
.ValidateObject(manager, child));
AuthoringOM\Compiler\XomlCompiler.cs (1)
845
identifierError =
ValidationHelpers
.ValidateIdentifier("Name", serviceProvider, currentActivity.Name);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (2)
281
errors =
ValidationHelpers
.ValidateProperty(manager, bindingActivity, bind, propertyValidationContext);
321
ValidationHelpers
.ValidateIdentifier(context, newMemberName);
AuthoringOM\ScheduleChanges.cs (1)
108
errors =
ValidationHelpers
.ValidateObject(validationManager, this.clonedRootActivity);
Shared\ValidationHelpers.cs (3)
62
ValidationHelpers
.ValidateIdentifier(context, identifier);
234
ValidationErrorCollection errors =
ValidationHelpers
.ValidateObject(manager, activity);
266
errors.AddRange(
ValidationHelpers
.ValidateObject(manager, obj));