73 instantiations of Variable
System.Activities (41)
System\Activities\Statements\CancellationScope.cs (1)
25
this.suppressCancel = new
Variable
<bool>();
System\Activities\Statements\CompensableActivity.cs (6)
36
this.currentCompensationToken = new
Variable
<CompensationToken>();
37
this.currentCompensationId = new
Variable
<long>();
38
this.compensationId = new
Variable
<long>();
209
Variable<bool> assertFlag = new
Variable
<bool> { Name = "assertFlag", Default = true };
210
Variable<IEnumerable<Activity>> elements = new
Variable
<IEnumerable<Activity>>() { Name = "elements" };
211
Variable<int> index = new
Variable
<int>() { Name = "index" };
System\Activities\Statements\Compensate.cs (4)
27
this.currentCompensationToken = new
Variable
<CompensationToken>();
96
Variable<bool> assertFlag = new
Variable
<bool> { Name = "assertFlag" };
97
Variable<IEnumerable<Activity>> elements = new
Variable
<IEnumerable<Activity>>() { Name = "elements" };
98
Variable<int> index = new
Variable
<int>() { Name = "index" };
System\Activities\Statements\CompensationParticipant.cs (1)
23
this.currentCompensationToken = new
Variable
<CompensationToken>();
System\Activities\Statements\Confirm.cs (4)
27
this.currentCompensationToken = new
Variable
<CompensationToken>();
104
Variable<bool> assertFlag = new
Variable
<bool> { Name = "assertFlag" };
105
Variable<IEnumerable<Activity>> elements = new
Variable
<IEnumerable<Activity>>() { Name = "elements" };
106
Variable<int> index = new
Variable
<int>() { Name = "index" };
System\Activities\Statements\DefaultCompensation.cs (1)
23
this.toCompensateToken = new
Variable
<CompensationToken>();
System\Activities\Statements\DefaultConfirmation.cs (1)
20
this.toConfirmToken = new
Variable
<CompensationToken>();
System\Activities\Statements\Delay.cs (1)
23
this.timerBookmark = new
Variable
<Bookmark>();
System\Activities\Statements\Flowchart.cs (1)
31
this.currentNode = new
Variable
<int>();
System\Activities\Statements\ForEach.cs (1)
26
this.valueEnumerator = new
Variable
<IEnumerator<T>>();
System\Activities\Statements\HandleScope.cs (1)
52
this.declaredHandle = new
Variable
<THandle>();
System\Activities\Statements\InternalState.cs (3)
67
this.currentRunningTriggers = new
Variable
<int>();
68
this.isExiting = new
Variable
<bool>();
69
this.evaluateConditionBookmark = new
Variable
<Bookmark>();
System\Activities\Statements\NoPersistScope.cs (4)
30
this.noPersistHandle = new
Variable
<NoPersistHandle>();
74
Variable<bool> isConstraintSatisfied = new
Variable
<bool>("isConstraintSatisfied", true);
75
Variable<IEnumerable<Activity>> childActivities = new
Variable
<IEnumerable<Activity>>("childActivities");
76
Variable<string> constraintViolationMessage = new
Variable
<string>("constraintViolationMessage");
System\Activities\Statements\Parallel.cs (1)
134
this.hasCompleted = new
Variable
<bool>("hasCompletedVar");
System\Activities\Statements\ParallelForEach.cs (1)
71
this.hasCompleted = new
Variable
<bool>("hasCompletedVar");
System\Activities\Statements\Pick.cs (1)
26
this.pickStateVariable = new
Variable
<PickState>();
System\Activities\Statements\Sequence.cs (1)
25
this.lastIndexHint = new
Variable
<int>();
System\Activities\Statements\StateMachine.cs (1)
62
this.eventManager = new
Variable
<StateMachineEventManager> { Name = "EventManager", Default = new StateMachineEventManagerFactory() };
System\Activities\Statements\TransactionScope.cs (5)
41
this.runtimeTransactionHandle = new
Variable
<RuntimeTransactionHandle>();
43
this.nestedScopeTimeout = new
Variable
<TimeSpan>();
44
this.delayWasScheduled = new
Variable
<bool>();
45
this.nestedScopeTimeoutActivityInstance = new
Variable
<ActivityInstance>();
237
Variable<bool> nestedCompensableActivity = new
Variable
<bool>();
System\Activities\Statements\TryCatch.cs (1)
32
this.state = new
Variable
<TryCatchState>();
System\Activities\Statements\WorkflowCompensationBehavior.cs (1)
19
currentCompensationToken = new
Variable
<CompensationToken>
System.Activities.Core.Presentation (7)
System\Activities\Core\Presentation\InvokeDelegateValidationFeature.cs (2)
75
this.WarningMessageVariable = new
Variable
<string>();
76
this.ErrorMessageVariable = new
Variable
<string>();
System\ServiceModel\Activities\Presentation\Factories\ReceiveAndSendReplyFactory.cs (1)
28
Variable<CorrelationHandle> requestReplyCorrelation = new
Variable
<CorrelationHandle> { Name = correlationHandleName };
System\ServiceModel\Activities\Presentation\Factories\SendAndReceiveReplyFactory.cs (1)
28
Variable<CorrelationHandle> requestReplyCorrelation = new
Variable
<CorrelationHandle> { Name = correlationHandleName };
System\ServiceModel\Activities\Presentation\ReceiveReplyValidationFeature.cs (1)
42
Variable<bool> requestInTree = new
Variable
<bool> { Default = false };
System\ServiceModel\Activities\Presentation\SendReplyValidationFeature.cs (1)
42
Variable<bool> requestInTree = new
Variable
<bool> { Default = false };
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
167
Variable<CorrelationHandle> handle = new
Variable
<CorrelationHandle> { Name = "__handle" };
System.ServiceModel.Activities (18)
System\ServiceModel\Activities\CorrelationScope.cs (1)
23
this.declaredHandle = new
Variable
<CorrelationHandle>();
System\ServiceModel\Activities\InternalReceiveMessage.cs (2)
58
this.receiveMessageInstance = new
Variable
<VolatileReceiveMessageInstance>();
61
this.extensionReceiveBookmark = new
Variable
<Bookmark>();
System\ServiceModel\Activities\InternalSendMessage.cs (4)
78
this.sendMessageInstance = new
Variable
<VolatileSendMessageInstance>();
81
this.noPersistHandle = new
Variable
<NoPersistHandle>();
82
this.extensionSendCompleteBookmark = new
Variable
<Bookmark>();
83
this.e2eActivityId = new
Variable
<Guid>();
System\ServiceModel\Activities\MessagingNoPersistScope.cs (1)
23
this.noPersistHandle = new
Variable
<NoPersistHandle>();
System\ServiceModel\Activities\NoPersistScope.cs (1)
23
this.noPersistHandle = new
Variable
<NoPersistHandle>();
System\ServiceModel\Activities\Receive.cs (2)
60
Variable<Message> request = new
Variable
<Message> { Name = "RequestMessage" };
61
Variable<NoPersistHandle> noPersistHandle = new
Variable
<NoPersistHandle> { Name = "ReceiveNoPersistHandle" };
System\ServiceModel\Activities\ReceiveReply.cs (1)
43
Variable<Message> response = new
Variable
<Message> { Name = "ResponseMessage" };
System\ServiceModel\Activities\Send.cs (1)
56
Variable<Message> request = new
Variable
<Message> { Name = "RequestMessage" };
System\ServiceModel\Activities\SendReply.cs (1)
48
Variable<Message> response = new
Variable
<Message> { Name = "ResponseMessage" };
System\ServiceModel\Activities\TransactedReceiveScope.cs (3)
33
this.transactionHandle = new
Variable
<RuntimeTransactionHandle>
37
this.isNested = new
Variable
<bool>();
96
Variable<bool> nestedCompensableActivity = new
Variable
<bool>
System\ServiceModel\Activities\WorkflowService.cs (1)
790
Variable<IEnumerable<Activity>> parentChainVar = new
Variable
<IEnumerable<Activity>>("parentChainVar");
System.Workflow.Runtime (7)
System\Activities\Statements\Interop.cs (7)
68
this.interopActivityExecutor = new
Variable
<InteropExecutor>();
69
this.runtimeTransactionHandle = new
Variable
<RuntimeTransactionHandle>();
70
this.persistOnClose = new
Variable
<bool>();
71
this.interopEnlistment = new
Variable
<InteropEnlistment>();
72
this.outstandingException = new
Variable
<Exception>();
874
Variable<HashSet<InteropValidationEnum>> rootValidationDataVar = new
Variable
<HashSet<InteropValidationEnum>>(context => new HashSet<InteropValidationEnum>());
877
Variable<HashSet<InteropValidationEnum>> nestedChildrenValidationDataVar = new
Variable
<HashSet<InteropValidationEnum>>(context => new HashSet<InteropValidationEnum>());
89 references to Variable
System.Activities (56)
System\Activities\Activity.cs (2)
1866
public static implicit operator Activity<TResult>(
Variable
<TResult> variable)
1904
public static Activity<TResult> FromVariable(
Variable
<TResult> variable)
System\Activities\ActivityUtilities.cs (1)
28
static Type variableGenericType = typeof(
Variable
<>);
System\Activities\DynamicUpdate\NativeActivityUpdateContext.cs (2)
204
public T GetValue<T>(
Variable
<T> variable)
220
public void SetValue<T>(
Variable
<T> variable, T value)
System\Activities\Expressions\ExpressionServices.cs (1)
428
Fx.Assert(variableObject is
Variable
<TResult>, "Linq generated expression tree should be correct");
System\Activities\Expressions\VariableReference.cs (1)
42
if (!(this.Variable is
Variable
<T>))
System\Activities\Expressions\VariableValue.cs (1)
42
if (!(this.Variable is
Variable
<T>) && !TypeHelper.AreTypesCompatible(this.Variable.Type, typeof(T)))
System\Activities\ExpressionUtilities.cs (1)
31
static Type variableGenericType = typeof(
Variable
<>);
System\Activities\InOutArgument.cs (3)
56
public InOutArgument(
Variable
<T> variable)
122
public static implicit operator InOutArgument<T>(
Variable
<T> variable)
134
public static InOutArgument<T> FromVariable(
Variable
<T> variable)
System\Activities\NativeActivityContext.cs (2)
101
public T GetValue<T>(
Variable
<T> variable)
129
public void SetValue<T>(
Variable
<T> variable, T value)
System\Activities\Statements\CancellationScope.cs (1)
20
Variable
<bool> suppressCancel;
System\Activities\Statements\CompensableActivity.cs (6)
27
Variable
<long> currentCompensationId;
28
Variable
<CompensationToken> currentCompensationToken;
31
Variable
<long> compensationId;
209
Variable
<bool> assertFlag = new Variable<bool> { Name = "assertFlag", Default = true };
210
Variable
<IEnumerable<Activity>> elements = new Variable<IEnumerable<Activity>>() { Name = "elements" };
211
Variable
<int> index = new Variable<int>() { Name = "index" };
System\Activities\Statements\Compensate.cs (4)
22
Variable
<CompensationToken> currentCompensationToken;
96
Variable
<bool> assertFlag = new Variable<bool> { Name = "assertFlag" };
97
Variable
<IEnumerable<Activity>> elements = new Variable<IEnumerable<Activity>>() { Name = "elements" };
98
Variable
<int> index = new Variable<int>() { Name = "index" };
System\Activities\Statements\CompensationParticipant.cs (2)
16
Variable
<CompensationToken> currentCompensationToken;
18
public CompensationParticipant(
Variable
<long> compensationId)
System\Activities\Statements\Confirm.cs (4)
22
Variable
<CompensationToken> currentCompensationToken;
104
Variable
<bool> assertFlag = new Variable<bool> { Name = "assertFlag" };
105
Variable
<IEnumerable<Activity>> elements = new Variable<IEnumerable<Activity>>() { Name = "elements" };
106
Variable
<int> index = new Variable<int>() { Name = "index" };
System\Activities\Statements\DefaultCompensation.cs (1)
16
Variable
<CompensationToken> toCompensateToken;
System\Activities\Statements\DefaultConfirmation.cs (1)
14
Variable
<CompensationToken> toConfirmToken;
System\Activities\Statements\Delay.cs (1)
18
Variable
<Bookmark> timerBookmark;
System\Activities\Statements\Flowchart.cs (1)
28
Variable
<int> currentNode;
System\Activities\Statements\ForEach.cs (1)
20
Variable
<IEnumerator<T>> valueEnumerator;
System\Activities\Statements\HandleScope.cs (1)
17
Variable
<THandle> declaredHandle;
System\Activities\Statements\InternalState.cs (3)
32
Variable
<int> currentRunningTriggers;
33
Variable
<bool> isExiting;
36
Variable
<Bookmark> evaluateConditionBookmark;
System\Activities\Statements\NoPersistScope.cs (4)
26
Variable
<NoPersistHandle> noPersistHandle;
74
Variable
<bool> isConstraintSatisfied = new Variable<bool>("isConstraintSatisfied", true);
75
Variable
<IEnumerable<Activity>> childActivities = new Variable<IEnumerable<Activity>>("childActivities");
76
Variable
<string> constraintViolationMessage = new Variable<string>("constraintViolationMessage");
System\Activities\Statements\Parallel.cs (1)
23
Variable
<bool> hasCompleted;
System\Activities\Statements\ParallelForEach.cs (1)
19
Variable
<bool> hasCompleted;
System\Activities\Statements\Pick.cs (1)
21
Variable
<PickState> pickStateVariable;
System\Activities\Statements\Sequence.cs (1)
19
Variable
<int> lastIndexHint;
System\Activities\Statements\StateMachine.cs (1)
53
Variable
<StateMachineEventManager> eventManager;
System\Activities\Statements\TransactionScope.cs (5)
25
Variable
<RuntimeTransactionHandle> runtimeTransactionHandle;
29
Variable
<bool> delayWasScheduled;
30
Variable
<TimeSpan> nestedScopeTimeout;
31
Variable
<ActivityInstance> nestedScopeTimeoutActivityInstance;
237
Variable
<bool> nestedCompensableActivity = new Variable<bool>();
System\Activities\Statements\TryCatch.cs (1)
23
Variable
<TryCatchState> state;
System\Activities\Statements\WorkflowCompensationBehavior.cs (1)
14
Variable
<CompensationToken> currentCompensationToken;
System.Activities.Core.Presentation (7)
System\Activities\Core\Presentation\InvokeDelegateValidationFeature.cs (2)
96
private
Variable
<string> WarningMessageVariable { get; set; }
98
private
Variable
<string> ErrorMessageVariable { get; set; }
System\ServiceModel\Activities\Presentation\Factories\ReceiveAndSendReplyFactory.cs (1)
28
Variable
<CorrelationHandle> requestReplyCorrelation = new Variable<CorrelationHandle> { Name = correlationHandleName };
System\ServiceModel\Activities\Presentation\Factories\SendAndReceiveReplyFactory.cs (1)
28
Variable
<CorrelationHandle> requestReplyCorrelation = new Variable<CorrelationHandle> { Name = correlationHandleName };
System\ServiceModel\Activities\Presentation\ReceiveReplyValidationFeature.cs (1)
42
Variable
<bool> requestInTree = new Variable<bool> { Default = false };
System\ServiceModel\Activities\Presentation\SendReplyValidationFeature.cs (1)
42
Variable
<bool> requestInTree = new Variable<bool> { Default = false };
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
167
Variable
<CorrelationHandle> handle = new Variable<CorrelationHandle> { Name = "__handle" };
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
1338
var variableOfType = typeof(
Variable
<>).MakeGenericType(type);
System.ServiceModel.Activities (18)
System\ServiceModel\Activities\CorrelationScope.cs (1)
18
Variable
<CorrelationHandle> declaredHandle; //
System\ServiceModel\Activities\InternalReceiveMessage.cs (2)
49
Variable
<VolatileReceiveMessageInstance> receiveMessageInstance;
52
Variable
<Bookmark> extensionReceiveBookmark;
System\ServiceModel\Activities\InternalSendMessage.cs (4)
64
Variable
<VolatileSendMessageInstance> sendMessageInstance;
65
Variable
<NoPersistHandle> noPersistHandle;
66
Variable
<Bookmark> extensionSendCompleteBookmark;
67
Variable
<Guid> e2eActivityId;
System\ServiceModel\Activities\MessagingNoPersistScope.cs (1)
19
Variable
<NoPersistHandle> noPersistHandle;
System\ServiceModel\Activities\NoPersistScope.cs (1)
19
Variable
<NoPersistHandle> noPersistHandle;
System\ServiceModel\Activities\Receive.cs (2)
60
Variable
<Message> request = new Variable<Message> { Name = "RequestMessage" };
61
Variable
<NoPersistHandle> noPersistHandle = new Variable<NoPersistHandle> { Name = "ReceiveNoPersistHandle" };
System\ServiceModel\Activities\ReceiveReply.cs (1)
43
Variable
<Message> response = new Variable<Message> { Name = "ResponseMessage" };
System\ServiceModel\Activities\Send.cs (1)
56
Variable
<Message> request = new Variable<Message> { Name = "RequestMessage" };
System\ServiceModel\Activities\SendReply.cs (1)
48
Variable
<Message> response = new Variable<Message> { Name = "ResponseMessage" };
System\ServiceModel\Activities\TransactedReceiveScope.cs (3)
23
Variable
<RuntimeTransactionHandle> transactionHandle;
28
Variable
<bool> isNested;
96
Variable
<bool> nestedCompensableActivity = new Variable<bool>
System\ServiceModel\Activities\WorkflowService.cs (1)
790
Variable
<IEnumerable<Activity>> parentChainVar = new Variable<IEnumerable<Activity>>("parentChainVar");
System.Workflow.Runtime (7)
System\Activities\Statements\Interop.cs (7)
45
Variable
<InteropExecutor> interopActivityExecutor;
46
Variable
<RuntimeTransactionHandle> runtimeTransactionHandle;
55
Variable
<bool> persistOnClose;
56
Variable
<InteropEnlistment> interopEnlistment;
57
Variable
<Exception> outstandingException;
874
Variable
<HashSet<InteropValidationEnum>> rootValidationDataVar = new Variable<HashSet<InteropValidationEnum>>(context => new HashSet<InteropValidationEnum>());
877
Variable
<HashSet<InteropValidationEnum>> nestedChildrenValidationDataVar = new Variable<HashSet<InteropValidationEnum>>(context => new HashSet<InteropValidationEnum>());