-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
ArgumentToExpressionConverter.xml
152 lines (141 loc) · 9.23 KB
/
ArgumentToExpressionConverter.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<Type Name="ArgumentToExpressionConverter" FullName="System.Activities.Presentation.Converters.ArgumentToExpressionConverter">
<TypeSignature Language="C#" Value="public class ArgumentToExpressionConverter : System.Windows.Data.IValueConverter" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ArgumentToExpressionConverter extends System.Object implements class System.Windows.Data.IValueConverter" />
<TypeSignature Language="DocId" Value="T:System.Activities.Presentation.Converters.ArgumentToExpressionConverter" />
<TypeSignature Language="VB.NET" Value="Public Class ArgumentToExpressionConverter
Implements IValueConverter" />
<TypeSignature Language="F#" Value="type ArgumentToExpressionConverter = class
 interface IValueConverter" />
<TypeSignature Language="C++ CLI" Value="public ref class ArgumentToExpressionConverter : System::Windows::Data::IValueConverter" />
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Windows.Data.IValueConverter</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>Defines the mapping between arguments and expressions and provides the functionality to convert between these objects. Typically, this converter is used declaratively when using an <see cref="T:System.Activities.Presentation.View.ExpressionTextBox" /> in a custom activity designer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This converter can also be used imperatively; however, this usage is not recommended.
## Examples
The following XAML snippet shows how to use the ArgumentToExpressionConverter in a custom activity designer that uses an ExpressionTextBox.
```
<sapv:ExpressionTextBox
Expression="{Binding Path=ModelItem.SampleValue,
Mode=TwoWay,
Converter={StaticResource ArgumentToExpressionConverter},
ConverterParameter=In }"
ExpressionType="s:String"
OwnerActivity="{Binding Path=ModelItem}"
/>
```
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ArgumentToExpressionConverter ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Presentation.Converters.ArgumentToExpressionConverter.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 ArgumentToExpressionConverter();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Activities.Presentation.Converters.ArgumentToExpressionConverter" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Convert">
<MemberSignature Language="C#" Value="public object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object Convert(object value, class System.Type targetType, object parameter, class System.Globalization.CultureInfo culture) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Presentation.Converters.ArgumentToExpressionConverter.Convert(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)" />
<MemberSignature Language="VB.NET" Value="Public Function Convert (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object" />
<MemberSignature Language="F#" Value="abstract member Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj" Usage="argumentToExpressionConverter.Convert (value, targetType, parameter, culture)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual System::Object ^ Convert(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Windows.Data.IValueConverter.Convert(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
<Parameter Name="targetType" Type="System.Type" />
<Parameter Name="parameter" Type="System.Object" />
<Parameter Name="culture" Type="System.Globalization.CultureInfo" />
</Parameters>
<Docs>
<param name="value">The value produced by the binding source.</param>
<param name="targetType">The type of the binding target property.</param>
<param name="parameter">The converter parameter to use.</param>
<param name="culture">The <see cref="T:System.Globalization.CultureInfo" /> to use in the converter.</param>
<summary>Converts the specified argument into an expression.</summary>
<returns>An instance of <see cref="T:System.Object" /> that contains the converted Argument.Expression.
Contains the converted Argument.Expression.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The `parameter`,
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ConvertBack">
<MemberSignature Language="C#" Value="public object ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object ConvertBack(object value, class System.Type targetType, object parameter, class System.Globalization.CultureInfo culture) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Presentation.Converters.ArgumentToExpressionConverter.ConvertBack(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)" />
<MemberSignature Language="VB.NET" Value="Public Function ConvertBack (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object" />
<MemberSignature Language="F#" Value="abstract member ConvertBack : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.ConvertBack : obj * Type * obj * System.Globalization.CultureInfo -> obj" Usage="argumentToExpressionConverter.ConvertBack (value, targetType, parameter, culture)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual System::Object ^ ConvertBack(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Windows.Data.IValueConverter.ConvertBack(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
<Parameter Name="targetType" Type="System.Type" />
<Parameter Name="parameter" Type="System.Object" />
<Parameter Name="culture" Type="System.Globalization.CultureInfo" />
</Parameters>
<Docs>
<param name="value">The Argument.Expression to convert.</param>
<param name="targetType">Not implemented.</param>
<param name="parameter">Not implemented.</param>
<param name="culture">Not implemented.</param>
<summary>Converts the specified Argument.Expression into an argument.</summary>
<returns>Returns <see cref="T:System.Object" />.
Contains the converted argument.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>