8 writes to Variable
System.Activities (8)
System\Activities\Expressions\ExpressionServices.cs (3)
375
result = new VariableReference<TResult> {
Variable
= variableObject };
429
result = new VariableReference<TResult> {
Variable
= variableObject };
1574
result = new VariableReference<TResult> {
Variable
= variable };
System\Activities\Expressions\VariableReference.cs (1)
20
this.
Variable
= variable;
System\Activities\InOutArgument.cs (3)
52
this.Expression = new VariableReference<T> {
Variable
= variable };
61
this.Expression = new VariableReference<T> {
Variable
= variable };
138
Expression = new VariableReference<T> {
Variable
= variable }
System\Activities\OutArgument.cs (1)
72
this.Expression = new VariableReference<T> {
Variable
= variable };
14 references to Variable
System.Activities (14)
System\Activities\Expressions\VariableReference.cs (14)
31
get { return this.
Variable
; }
36
if (this.
Variable
== null)
42
if (!(this.
Variable
is Variable<T>))
44
metadata.AddValidationError(SR.VariableTypeInvalid(this.
Variable
, typeof(T), this.
Variable
.Type));
47
if (!this.
Variable
.IsInTree)
49
metadata.AddValidationError(SR.VariableShouldBeOpen(this.
Variable
.Name));
52
if (!metadata.Environment.IsVisible(this.
Variable
))
54
metadata.AddValidationError(SR.VariableNotVisible(this.
Variable
.Name));
57
if (VariableModifiersHelper.IsReadOnly(
Variable
.Modifiers))
59
metadata.AddValidationError(SR.VariableIsReadOnly(this.
Variable
.Name));
66
if (
Variable
!= null && !string.IsNullOrEmpty(
Variable
.Name))
68
return
Variable
.Name;