13 instantiations of PropertyValidationContext
System.Workflow.Activities (5)
CorrelationValidator.cs (1)
916
new
PropertyValidationContext
(parameterBinding, null, paramName),
InvokeSchedule.cs (1)
298
ValidationErrorCollection memberErrors = ValidationHelpers.ValidateProperty(manager, invokeWorkflow, paramBinding.GetBinding(WorkflowParameterBinding.ValueProperty), new
PropertyValidationContext
(paramBinding, null, paramBinding.ParameterName), new BindValidationContext(parameterType, AccessTypes.Read));
InvokeWebService.cs (1)
496
new
PropertyValidationContext
(invokeWebService.ParameterBindings[paramName], null, paramName), new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
WebServiceReceive.cs (1)
604
new
PropertyValidationContext
(webServiceReceive.ParameterBindings[paramName], null, paramName), new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
WebServiceResponse.cs (1)
439
new
PropertyValidationContext
(webServiceResponse.ParameterBindings[paramName], null, paramName), new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\Validation\BindValidator.cs (2)
938
propertyValidationContext = new
PropertyValidationContext
(refActivity, dependencyProperty);
940
propertyValidationContext = new
PropertyValidationContext
(refActivity, memberInfo as PropertyInfo, memberInfo.Name);
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (2)
70
PropertyValidationContext propertyValidationContext = new
PropertyValidationContext
(activity, dependencyProperty);
131
PropertyValidationContext childContext = new
PropertyValidationContext
(propValue, null, String.Empty);
AuthoringOM\Compiler\Validation\Validator.cs (2)
107
PropertyValidationContext propertyValidationContext = new
PropertyValidationContext
(propertyOwner, propertyInfo, propertyInfo.Name);
117
PropertyValidationContext childContext = new
PropertyValidationContext
(propertyValue, null, "");
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
275
PropertyValidationContext propertyValidationContext = new
PropertyValidationContext
(this.context.Instance, DependencyProperty.FromName(this.context.PropertyDescriptor.Name, this.context.Instance.GetType()));
System.WorkflowServices (1)
System\Workflow\Activities\ValidationHelper.cs (1)
928
new
PropertyValidationContext
(parameterBindings[parameterName],
39 references to PropertyValidationContext
System.Workflow.Activities (10)
Common\ValidationHelpers.cs (2)
245
internal static ValidationErrorCollection ValidateProperty(ValidationManager manager, Activity activity, object obj,
PropertyValidationContext
propertyValidationContext)
250
internal static ValidationErrorCollection ValidateProperty(ValidationManager manager, Activity activity, object obj,
PropertyValidationContext
propertyValidationContext, object extendedPropertyContext)
Rules\DeclarativeExpressionConditionDeclaration.cs (4)
356
PropertyValidationContext
validationContext = manager.Context[typeof(
PropertyValidationContext
)] as
PropertyValidationContext
;
359
string message = string.Format(CultureInfo.CurrentCulture, Messages.ContextStackItemMissing, typeof(
PropertyValidationContext
).Name);
Rules\RuleSetReference.cs (4)
111
PropertyValidationContext
validationContext = manager.Context[typeof(
PropertyValidationContext
)] as
PropertyValidationContext
;
114
string message = string.Format(CultureInfo.CurrentCulture, Messages.ContextStackItemMissing, typeof(
PropertyValidationContext
).Name);
System.Workflow.ComponentModel (28)
AuthoringOM\Bind.cs (2)
977
internal static Type GetBaseType(IServiceProvider serviceProvider,
PropertyValidationContext
validationContext)
1005
internal static AccessTypes GetAccessType(IServiceProvider serviceProvider,
PropertyValidationContext
validationContext)
AuthoringOM\Compiler\Validation\BindValidator.cs (16)
46
PropertyValidationContext
validationContext = manager.Context[typeof(
PropertyValidationContext
)] as
PropertyValidationContext
;
231
PropertyValidationContext
validationContext = manager.Context[typeof(
PropertyValidationContext
)] as
PropertyValidationContext
;
428
PropertyValidationContext
validationContext = manager.Context[typeof(
PropertyValidationContext
)] as
PropertyValidationContext
;
592
PropertyValidationContext
validationContext = manager.Context[typeof(
PropertyValidationContext
)] as
PropertyValidationContext
;
755
PropertyValidationContext
validationContext = manager.Context[typeof(
PropertyValidationContext
)] as
PropertyValidationContext
;
936
PropertyValidationContext
propertyValidationContext = null;
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (2)
70
PropertyValidationContext
propertyValidationContext = new PropertyValidationContext(activity, dependencyProperty);
131
PropertyValidationContext
childContext = new PropertyValidationContext(propValue, null, String.Empty);
AuthoringOM\Compiler\Validation\Validator.cs (5)
85
if (manager.Context[iterator] is
PropertyValidationContext
)
87
PropertyValidationContext
propertyValidationContext = manager.Context[iterator] as
PropertyValidationContext
;
107
PropertyValidationContext
propertyValidationContext = new PropertyValidationContext(propertyOwner, propertyInfo, propertyInfo.Name);
117
PropertyValidationContext
childContext = new PropertyValidationContext(propertyValue, null, "");
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
275
PropertyValidationContext
propertyValidationContext = new PropertyValidationContext(this.context.Instance, DependencyProperty.FromName(this.context.PropertyDescriptor.Name, this.context.Instance.GetType()));
Shared\ValidationHelpers.cs (2)
244
internal static ValidationErrorCollection ValidateProperty(ValidationManager manager, Activity activity, object obj,
PropertyValidationContext
propertyValidationContext)
249
internal static ValidationErrorCollection ValidateProperty(ValidationManager manager, Activity activity, object obj,
PropertyValidationContext
propertyValidationContext, object extendedPropertyContext)
System.WorkflowServices (1)
System\Workflow\Activities\ValidationHelper.cs (1)
927
PropertyValidationContext
propertyValidationContext =