33 references to AddCustomAttributes
System.Data (33)
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (2)
303
builder.
AddCustomAttributes
(type, new DesignerAttribute(typeof(SwitchDesigner)));
305
builder.
AddCustomAttributes
(type, new TypeResolvingOptionsAttribute(ArgumentTypeResolvingOptions));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (31)
30
builder.
AddCustomAttributes
(typeof(Activity), new DesignerAttribute(typeof(ActivityDesigner)));
31
builder.
AddCustomAttributes
(typeof(ActivityBuilder), new DesignerAttribute(typeof(ActivityTypeDesigner)));
32
builder.
AddCustomAttributes
(typeof(ActivityBuilder<>), new DesignerAttribute(typeof(GenericActivityTypeDesigner)));
35
builder.
AddCustomAttributes
(typeof(Argument), new EditorAttribute(typeof(ExpressionValueEditor), typeof(PropertyValueEditor)));
36
builder.
AddCustomAttributes
(typeof(Type), PropertyValueEditor.CreateEditorAttribute(typeof(TypePropertyEditor)));
38
builder.
AddCustomAttributes
(typeof(Activity<>), new EditorAttribute(typeof(ExpressionValueEditor), typeof(PropertyValueEditor)));
41
builder.
AddCustomAttributes
(typeof(Argument), new EditorReuseAttribute(false));
42
builder.
AddCustomAttributes
(typeof(Activity<>), new EditorReuseAttribute(false));
59
builder.
AddCustomAttributes
(typeof(Argument), new SearchableStringConverterAttribute(typeof(ArgumentSearchableStringConverter)));
60
builder.
AddCustomAttributes
(typeof(VisualBasicValue<>), new SearchableStringConverterAttribute(typeof(VisualBasicValueSearchableStringConverter)));
61
builder.
AddCustomAttributes
(typeof(Type), new SearchableStringConverterAttribute(typeof(TypeSearchableStringConverter)));
62
builder.
AddCustomAttributes
(typeof(ActivityAction<>),
64
builder.
AddCustomAttributes
(typeof(XName), new SearchableStringConverterAttribute(typeof(XNameSearchableStringConverter)));
65
builder.
AddCustomAttributes
(typeof(Encoding), new SearchableStringConverterAttribute(typeof(EncodingSearchableStringConverter)));
66
builder.
AddCustomAttributes
(typeof(ErrorActivity), new SearchableStringConverterAttribute(typeof(EmptySearchableStringConverter)));
68
builder.
AddCustomAttributes
(typeof(XName), new TypeConverterAttribute(typeof(XNameConverter)));
70
builder.
AddCustomAttributes
(typeof(VBIdentifierName), new EditorAttribute(typeof(VBIdentifierNameEditor), typeof(PropertyValueEditor)));
71
builder.
AddCustomAttributes
(typeof(VBIdentifierName), new EditorReuseAttribute(false));
74
builder.
AddCustomAttributes
(typeof(VisualBasicValue<>), new ExpressionMorphHelperAttribute(typeof(VisualBasicExpressionMorphHelper)));
75
builder.
AddCustomAttributes
(typeof(VisualBasicReference<>), new ExpressionMorphHelperAttribute(typeof(VisualBasicExpressionMorphHelper)));
76
builder.
AddCustomAttributes
(typeof(VisualBasicValue<>), new FeatureAttribute(typeof(VisualBasicValueValidationFeature)));
77
builder.
AddCustomAttributes
(typeof(VisualBasicReference<>), new FeatureAttribute(typeof(VisualBasicReferenceValidationFeature)));
79
builder.
AddCustomAttributes
(typeof(Literal<>), new ExpressionMorphHelperAttribute(typeof(NonTextualExpressionMorphHelper)));
80
builder.
AddCustomAttributes
(typeof(VariableValue<>), new ExpressionMorphHelperAttribute(typeof(NonTextualExpressionMorphHelper)));
81
builder.
AddCustomAttributes
(typeof(VariableReference<>), new ExpressionMorphHelperAttribute(typeof(NonTextualExpressionMorphHelper)));
83
builder.
AddCustomAttributes
(typeof(Activity), new ShowInOutlineViewAttribute());
84
builder.
AddCustomAttributes
(typeof(Collection<Activity>), new ShowInOutlineViewAttribute());
89
builder.
AddCustomAttributes
(type, new ShowInOutlineViewAttribute() { PromotedProperty = "Handler" });
92
builder.
AddCustomAttributes
(type, new ShowInOutlineViewAttribute());
98
builder.
AddCustomAttributes
(typeof(WorkflowIdentity), new TypeConverterAttribute(typeof(ExpandableObjectConverter)));
99
builder.
AddCustomAttributes
(typeof(Version), new EditorAttribute(typeof(VersionPropertyValueEditor), typeof(PropertyValueEditor)));