15 writes to Variable
System.Activities (8)
System\Activities\Activity.cs (1)
1885
return new VariableValue<TResult> {
Variable
= variable };
System\Activities\Expressions\ExpressionServices.cs (3)
521
result = new VariableValue<TResult> {
Variable
= variableObject };
570
result = new VariableValue<TResult> {
Variable
= variableObject };
1516
result = new VariableValue<TResult> {
Variable
= variable };
System\Activities\Expressions\VariableValue.cs (1)
20
this.
Variable
= variable;
System\Activities\InArgument.cs (1)
72
this.Expression = new VariableValue<T> {
Variable
= variable };
System\Activities\Statements\CompensableActivity.cs (1)
282
Variable
= index
System\Activities\Statements\TransactionScope.cs (1)
285
Assertion = new InArgument<bool>(new Not<bool, bool> { Operand = new VariableValue<bool> {
Variable
= nestedCompensableActivity } }),
System.Activities.Core.Presentation (6)
System\Activities\Core\Presentation\InvokeDelegateValidationFeature.cs (2)
81
Message = new VariableValue<string> {
Variable
= this.WarningMessageVariable }
87
Message = new VariableValue<string> {
Variable
= this.ErrorMessageVariable }
System\ServiceModel\Activities\Presentation\Factories\ReceiveAndSendReplyFactory.cs (1)
38
CorrelationHandle = new VariableValue<CorrelationHandle> {
Variable
= requestReplyCorrelation }
System\ServiceModel\Activities\Presentation\Factories\SendAndReceiveReplyFactory.cs (1)
38
CorrelationHandle = new VariableValue<CorrelationHandle> {
Variable
= requestReplyCorrelation }
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (1)
212
VariableValue<CorrelationHandle> expression = new VariableValue<CorrelationHandle> {
Variable
= handleVariable };
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (1)
215
VariableValue<CorrelationHandle> expression = new VariableValue<CorrelationHandle> {
Variable
= handleVariable };
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\TransactedReceiveScope.cs (1)
183
Variable
= nestedCompensableActivity
14 references to Variable
System.Activities (13)
System\Activities\Expressions\VariableValue.cs (13)
31
get { return this.
Variable
; }
36
if (this.
Variable
== null)
42
if (!(this.
Variable
is Variable<T>) && !TypeHelper.AreTypesCompatible(this.
Variable
.Type, typeof(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));
61
if (
Variable
!= null && !string.IsNullOrEmpty(
Variable
.Name))
63
return
Variable
.Name;
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\MessagingActivityHelper.cs (1)
246
return new InArgument<CorrelationHandle>(variableValue.
Variable
);