9 instantiations of ValidationOptionAttribute
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 (1)
AuthoringOM\Activity.cs (1)
144
private static DependencyProperty NameProperty = DependencyProperty.Register("Name", typeof(string), typeof(Activity), new PropertyMetadata("", DependencyPropertyOptions.Metadata, new
ValidationOptionAttribute
(ValidationOption.Required)));
8 references to ValidationOptionAttribute
System.Workflow.ComponentModel (8)
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (4)
50
object[] validationVisibilityAtrributes = prop.DefaultMetadata.GetAttributes(typeof(
ValidationOptionAttribute
));
51
ValidationOption validationVisibility = (validationVisibilityAtrributes.Length > 0) ? ((
ValidationOptionAttribute
)validationVisibilityAtrributes[0]).ValidationOption : ValidationOption.Optional;
63
Attribute[] validationVisibilityAtrributes = dependencyProperty.DefaultMetadata.GetAttributes(typeof(
ValidationOptionAttribute
));
64
ValidationOption validationVisibility = (validationVisibilityAtrributes.Length > 0) ? ((
ValidationOptionAttribute
)validationVisibilityAtrributes[0]).ValidationOption : ValidationOption.Optional;
AuthoringOM\Compiler\Validation\Validator.cs (4)
57
object[] validationVisibilityAtrributes = args.CurrentProperty.GetCustomAttributes(typeof(
ValidationOptionAttribute
), true);
58
ValidationOption validationVisibility = (validationVisibilityAtrributes.Length > 0) ? ((
ValidationOptionAttribute
)validationVisibilityAtrributes[0]).ValidationOption : ValidationOption.Optional;
105
object[] validationVisibilityAtrributes = propertyInfo.GetCustomAttributes(typeof(
ValidationOptionAttribute
), true);
106
ValidationOption validationVisibility = (validationVisibilityAtrributes.Length > 0) ? ((
ValidationOptionAttribute
)validationVisibilityAtrributes[0]).ValidationOption : ValidationOption.Optional;