/
RuleExpressionWalker.xml
227 lines (225 loc) · 18.9 KB
/
RuleExpressionWalker.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<Type Name="RuleExpressionWalker" FullName="System.Workflow.Activities.Rules.RuleExpressionWalker">
<TypeSignature Language="C#" Value="public static class RuleExpressionWalker" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit RuleExpressionWalker extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Workflow.Activities.Rules.RuleExpressionWalker" />
<TypeSignature Language="VB.NET" Value="Public Class RuleExpressionWalker" />
<TypeSignature Language="F#" Value="type RuleExpressionWalker = class" />
<TypeSignature Language="C++ CLI" Value="public ref class RuleExpressionWalker abstract sealed" />
<AssemblyInfo>
<AssemblyName>System.Workflow.Activities</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Propagates the current behavior in the expression to child nodes. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This class is used by all <xref:System.Workflow.Activities.Rules.IRuleExpression> methods to propagate behavior to child nodes.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="AnalyzeUsage">
<MemberSignature Language="C#" Value="public static void AnalyzeUsage (System.Workflow.Activities.Rules.RuleAnalysis analysis, System.CodeDom.CodeExpression expression, bool isRead, bool isWritten, System.Workflow.Activities.Rules.RulePathQualifier qualifier);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void AnalyzeUsage(class System.Workflow.Activities.Rules.RuleAnalysis analysis, class System.CodeDom.CodeExpression expression, bool isRead, bool isWritten, class System.Workflow.Activities.Rules.RulePathQualifier qualifier) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.Activities.Rules.RuleExpressionWalker.AnalyzeUsage(System.Workflow.Activities.Rules.RuleAnalysis,System.CodeDom.CodeExpression,System.Boolean,System.Boolean,System.Workflow.Activities.Rules.RulePathQualifier)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub AnalyzeUsage (analysis As RuleAnalysis, expression As CodeExpression, isRead As Boolean, isWritten As Boolean, qualifier As RulePathQualifier)" />
<MemberSignature Language="F#" Value="static member AnalyzeUsage : System.Workflow.Activities.Rules.RuleAnalysis * System.CodeDom.CodeExpression * bool * bool * System.Workflow.Activities.Rules.RulePathQualifier -> unit" Usage="System.Workflow.Activities.Rules.RuleExpressionWalker.AnalyzeUsage (analysis, expression, isRead, isWritten, qualifier)" />
<MemberSignature Language="C++ CLI" Value="public:
 static void AnalyzeUsage(System::Workflow::Activities::Rules::RuleAnalysis ^ analysis, System::CodeDom::CodeExpression ^ expression, bool isRead, bool isWritten, System::Workflow::Activities::Rules::RulePathQualifier ^ qualifier);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.Activities</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="analysis" Type="System.Workflow.Activities.Rules.RuleAnalysis" />
<Parameter Name="expression" Type="System.CodeDom.CodeExpression" />
<Parameter Name="isRead" Type="System.Boolean" />
<Parameter Name="isWritten" Type="System.Boolean" />
<Parameter Name="qualifier" Type="System.Workflow.Activities.Rules.RulePathQualifier" />
</Parameters>
<Docs>
<param name="analysis">The <see cref="T:System.Workflow.Activities.Rules.RuleAnalysis" /> instance that stores symbols representing the properties and fields used by rule conditions and actions.</param>
<param name="expression">The expression being executed.</param>
<param name="isRead">
<see langword="true" /> if fields and properties read by a <see cref="T:System.Workflow.Activities.Rules.RuleAction" /> are to be added to <see cref="T:System.Workflow.Activities.Rules.RuleAnalysis" />; otherwise, <see langword="false" />.</param>
<param name="isWritten">
<see langword="true" /> if fields and properties written by a <see cref="T:System.Workflow.Activities.Rules.RuleAction" /> are to be added to <see cref="T:System.Workflow.Activities.Rules.RuleAnalysis" />; otherwise, <see langword="false" />.</param>
<param name="qualifier">The path of a field or property determined up to this point.</param>
<summary>Identifies the fields and properties used by an expression and adds these as symbols to the <see cref="T:System.Workflow.Activities.Rules.RuleAnalysis" /> instance.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="analysis" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
</Docs>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public static System.CodeDom.CodeExpression Clone (System.CodeDom.CodeExpression originalExpression);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.CodeDom.CodeExpression Clone(class System.CodeDom.CodeExpression originalExpression) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.Activities.Rules.RuleExpressionWalker.Clone(System.CodeDom.CodeExpression)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Clone (originalExpression As CodeExpression) As CodeExpression" />
<MemberSignature Language="F#" Value="static member Clone : System.CodeDom.CodeExpression -> System.CodeDom.CodeExpression" Usage="System.Workflow.Activities.Rules.RuleExpressionWalker.Clone originalExpression" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::CodeDom::CodeExpression ^ Clone(System::CodeDom::CodeExpression ^ originalExpression);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.Activities</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.CodeDom.CodeExpression</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="originalExpression" Type="System.CodeDom.CodeExpression" />
</Parameters>
<Docs>
<param name="originalExpression">The expression that the clone is based on.</param>
<summary>Creates a deep copy of the child nodes of the current <see cref="T:System.CodeDom.CodeExpression" />.</summary>
<returns>A <see cref="T:System.CodeDom.CodeExpression" /> that is identical to this instance.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Decompile">
<MemberSignature Language="C#" Value="public static void Decompile (System.Text.StringBuilder stringBuilder, System.CodeDom.CodeExpression expression, System.CodeDom.CodeExpression parentExpression);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Decompile(class System.Text.StringBuilder stringBuilder, class System.CodeDom.CodeExpression expression, class System.CodeDom.CodeExpression parentExpression) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.Activities.Rules.RuleExpressionWalker.Decompile(System.Text.StringBuilder,System.CodeDom.CodeExpression,System.CodeDom.CodeExpression)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub Decompile (stringBuilder As StringBuilder, expression As CodeExpression, parentExpression As CodeExpression)" />
<MemberSignature Language="F#" Value="static member Decompile : System.Text.StringBuilder * System.CodeDom.CodeExpression * System.CodeDom.CodeExpression -> unit" Usage="System.Workflow.Activities.Rules.RuleExpressionWalker.Decompile (stringBuilder, expression, parentExpression)" />
<MemberSignature Language="C++ CLI" Value="public:
 static void Decompile(System::Text::StringBuilder ^ stringBuilder, System::CodeDom::CodeExpression ^ expression, System::CodeDom::CodeExpression ^ parentExpression);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.Activities</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:AvoidTypeNamesInParameters", MessageId="0#")]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:AvoidTypeNamesInParameters", MessageId="0#")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="stringBuilder" Type="System.Text.StringBuilder" />
<Parameter Name="expression" Type="System.CodeDom.CodeExpression" />
<Parameter Name="parentExpression" Type="System.CodeDom.CodeExpression" />
</Parameters>
<Docs>
<param name="stringBuilder">The <see cref="T:System.Text.StringBuilder" /> that contains the mutable string of characters.</param>
<param name="expression">The current <see cref="T:System.CodeDom.CodeExpression" />.</param>
<param name="parentExpression">The parent <see cref="T:System.CodeDom.CodeExpression" />.</param>
<summary>Decompiles the child nodes of the expression into string form.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Evaluate">
<MemberSignature Language="C#" Value="public static System.Workflow.Activities.Rules.RuleExpressionResult Evaluate (System.Workflow.Activities.Rules.RuleExecution execution, System.CodeDom.CodeExpression expression);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Workflow.Activities.Rules.RuleExpressionResult Evaluate(class System.Workflow.Activities.Rules.RuleExecution execution, class System.CodeDom.CodeExpression expression) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.Activities.Rules.RuleExpressionWalker.Evaluate(System.Workflow.Activities.Rules.RuleExecution,System.CodeDom.CodeExpression)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Evaluate (execution As RuleExecution, expression As CodeExpression) As RuleExpressionResult" />
<MemberSignature Language="F#" Value="static member Evaluate : System.Workflow.Activities.Rules.RuleExecution * System.CodeDom.CodeExpression -> System.Workflow.Activities.Rules.RuleExpressionResult" Usage="System.Workflow.Activities.Rules.RuleExpressionWalker.Evaluate (execution, expression)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Workflow::Activities::Rules::RuleExpressionResult ^ Evaluate(System::Workflow::Activities::Rules::RuleExecution ^ execution, System::CodeDom::CodeExpression ^ expression);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.Activities</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Workflow.Activities.Rules.RuleExpressionResult</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="execution" Type="System.Workflow.Activities.Rules.RuleExecution" />
<Parameter Name="expression" Type="System.CodeDom.CodeExpression" />
</Parameters>
<Docs>
<param name="execution">The <see cref="T:System.Workflow.Activities.Rules.RuleExecution" /> to execute the expression.</param>
<param name="expression">The <see cref="T:System.CodeDom.CodeExpression" /> to evaluate.</param>
<summary>Evaluates the expression and all child expressions.</summary>
<returns>The <see cref="T:System.Workflow.Activities.Rules.RuleExpressionResult" /> that indicates the result of the expression evaluation.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="execution" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
</Docs>
</Member>
<Member MemberName="Match">
<MemberSignature Language="C#" Value="public static bool Match (System.CodeDom.CodeExpression firstExpression, System.CodeDom.CodeExpression secondExpression);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Match(class System.CodeDom.CodeExpression firstExpression, class System.CodeDom.CodeExpression secondExpression) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.Activities.Rules.RuleExpressionWalker.Match(System.CodeDom.CodeExpression,System.CodeDom.CodeExpression)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Match (firstExpression As CodeExpression, secondExpression As CodeExpression) As Boolean" />
<MemberSignature Language="F#" Value="static member Match : System.CodeDom.CodeExpression * System.CodeDom.CodeExpression -> bool" Usage="System.Workflow.Activities.Rules.RuleExpressionWalker.Match (firstExpression, secondExpression)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool Match(System::CodeDom::CodeExpression ^ firstExpression, System::CodeDom::CodeExpression ^ secondExpression);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.Activities</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods")]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="firstExpression" Type="System.CodeDom.CodeExpression" />
<Parameter Name="secondExpression" Type="System.CodeDom.CodeExpression" />
</Parameters>
<Docs>
<param name="firstExpression">The first <see cref="T:System.CodeDom.CodeExpression" /> in the comparison.</param>
<param name="secondExpression">The second <see cref="T:System.CodeDom.CodeExpression" /> in the comparison.</param>
<summary>Compares the current expression and child nodes to another expression to determine whether they are equal.</summary>
<returns>
<see langword="true" /> if the expressions are equal; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Validate">
<MemberSignature Language="C#" Value="public static System.Workflow.Activities.Rules.RuleExpressionInfo Validate (System.Workflow.Activities.Rules.RuleValidation validation, System.CodeDom.CodeExpression expression, bool isWritten);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Workflow.Activities.Rules.RuleExpressionInfo Validate(class System.Workflow.Activities.Rules.RuleValidation validation, class System.CodeDom.CodeExpression expression, bool isWritten) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.Activities.Rules.RuleExpressionWalker.Validate(System.Workflow.Activities.Rules.RuleValidation,System.CodeDom.CodeExpression,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Validate (validation As RuleValidation, expression As CodeExpression, isWritten As Boolean) As RuleExpressionInfo" />
<MemberSignature Language="F#" Value="static member Validate : System.Workflow.Activities.Rules.RuleValidation * System.CodeDom.CodeExpression * bool -> System.Workflow.Activities.Rules.RuleExpressionInfo" Usage="System.Workflow.Activities.Rules.RuleExpressionWalker.Validate (validation, expression, isWritten)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Workflow::Activities::Rules::RuleExpressionInfo ^ Validate(System::Workflow::Activities::Rules::RuleValidation ^ validation, System::CodeDom::CodeExpression ^ expression, bool isWritten);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.Activities</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Workflow.Activities.Rules.RuleExpressionInfo</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="validation" Type="System.Workflow.Activities.Rules.RuleValidation" />
<Parameter Name="expression" Type="System.CodeDom.CodeExpression" />
<Parameter Name="isWritten" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="validation">The <see cref="T:System.Workflow.Activities.Rules.RuleValidation" /> to manage the validation process.</param>
<param name="expression">The <see cref="T:System.CodeDom.CodeExpression" /> to evaluate.</param>
<param name="isWritten">
<see langword="true" /> if fields and properties written by a <see cref="T:System.Workflow.Activities.Rules.RuleAction" /> are stored in by <see cref="T:System.Workflow.Activities.Rules.RuleAnalysis" />; otherwise, <see langword="false" />.</param>
<summary>Verifies that the expression and child nodes are configured correctly and has no errors.</summary>
<returns>The <see cref="T:System.Workflow.Activities.Rules.RuleExpressionInfo" /> for the <see cref="T:System.CodeDom.CodeExpression" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="validation" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
<exception cref="T:System.InvalidOperationException">The <paramref name="expression" /> is null and the errors collection on the <see cref="T:System.Workflow.Activities.Rules.RuleValidation" /> object is a null reference (<see langword="Nothing" />).</exception>
</Docs>
</Member>
</Members>
</Type>