23 references to ValidationOption
System.Workflow.Activities (8)
EventSinkActivity.cs (2)
37
public static readonly DependencyProperty InterfaceTypeProperty = DependencyProperty.Register("InterfaceType", typeof(System.Type), typeof(HandleExternalEventActivity), new PropertyMetadata(null, DependencyPropertyOptions.Metadata, new Attribute[] { new ValidationOptionAttribute(
ValidationOption
.Required) }));
38
public static readonly DependencyProperty EventNameProperty = DependencyProperty.Register("EventName", typeof(string), typeof(HandleExternalEventActivity), new PropertyMetadata("", DependencyPropertyOptions.Metadata, new Attribute[] { new ValidationOptionAttribute(
ValidationOption
.Required) }));
InvokeMethodActivity.cs (2)
34
public static readonly DependencyProperty InterfaceTypeProperty = DependencyProperty.Register("InterfaceType", typeof(System.Type), typeof(CallExternalMethodActivity), new PropertyMetadata(null, DependencyPropertyOptions.Metadata, new Attribute[] { new ValidationOptionAttribute(
ValidationOption
.Required) }));
35
public static readonly DependencyProperty MethodNameProperty = DependencyProperty.Register("MethodName", typeof(string), typeof(CallExternalMethodActivity), new PropertyMetadata("", DependencyPropertyOptions.Metadata, new Attribute[] { new ValidationOptionAttribute(
ValidationOption
.Required) }));
Policy.cs (1)
34
public static readonly DependencyProperty RuleSetReferenceProperty = DependencyProperty.Register("RuleSetReference", typeof(RuleSetReference), typeof(PolicyActivity), new PropertyMetadata(DependencyPropertyOptions.Metadata, new Attribute[] { new ValidationOptionAttribute(
ValidationOption
.Required) }));
SetState.cs (1)
34
public static readonly DependencyProperty TargetStateNameProperty = DependencyProperty.Register(TargetStateNamePropertyName, typeof(string), typeof(SetStateActivity), new PropertyMetadata("", DependencyPropertyOptions.Metadata, new ValidationOptionAttribute(
ValidationOption
.Optional)));
StateMachineWorkflow.cs (1)
62
[ValidationOption(
ValidationOption
.Optional)]
While.cs (1)
32
public static readonly DependencyProperty ConditionProperty = DependencyProperty.Register("Condition", typeof(ActivityCondition), typeof(WhileActivity), new PropertyMetadata(DependencyPropertyOptions.Metadata, new Attribute[] { new ValidationOptionAttribute(
ValidationOption
.Required) }));
System.Workflow.ComponentModel (15)
AuthoringOM\Activity.cs (1)
144
private static DependencyProperty NameProperty = DependencyProperty.Register("Name", typeof(string), typeof(Activity), new PropertyMetadata("", DependencyPropertyOptions.Metadata, new ValidationOptionAttribute(
ValidationOption
.Required)));
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (6)
51
ValidationOption
validationVisibility = (validationVisibilityAtrributes.Length > 0) ? ((ValidationOptionAttribute)validationVisibilityAtrributes[0]).ValidationOption :
ValidationOption
.Optional;
52
if (validationVisibility !=
ValidationOption
.None)
64
ValidationOption
validationVisibility = (validationVisibilityAtrributes.Length > 0) ? ((ValidationOptionAttribute)validationVisibilityAtrributes[0]).ValidationOption :
ValidationOption
.Optional;
120
if (validationVisibility ==
ValidationOption
.Required &&
AuthoringOM\Compiler\Validation\ValidationVisibilityAttribute.cs (3)
17
private
ValidationOption
validationOption;
19
public ValidationOptionAttribute(
ValidationOption
validationOption)
24
public
ValidationOption
ValidationOption
AuthoringOM\Compiler\Validation\Validator.cs (5)
58
ValidationOption
validationVisibility = (validationVisibilityAtrributes.Length > 0) ? ((ValidationOptionAttribute)validationVisibilityAtrributes[0]).ValidationOption :
ValidationOption
.Optional;
59
if (validationVisibility !=
ValidationOption
.None)
106
ValidationOption
validationVisibility = (validationVisibilityAtrributes.Length > 0) ? ((ValidationOptionAttribute)validationVisibilityAtrributes[0]).ValidationOption :
ValidationOption
.Optional;