2 instantiations of CompensationTokenData
System.Activities (2)
System\Activities\Statements\CompensableActivity.cs (1)
349
CompensationTokenData tokenData = new
CompensationTokenData
(compensationExtension.GetNextId(), parentCompensationId)
System\Activities\Statements\CompensationExtension.cs (1)
116
this.Add(CompensationToken.RootCompensationId, new
CompensationTokenData
(CompensationToken.RootCompensationId, CompensationToken.RootCompensationId));
53 references to CompensationTokenData
System.Activities (53)
System\Activities\Statements\CompensableActivity.cs (10)
349
CompensationTokenData
tokenData = new CompensationTokenData(compensationExtension.GetNextId(), parentCompensationId)
390
CompensationTokenData
token = compensationExtension.Get(this.currentCompensationId.Get(context));
419
void ScheduleSecondaryRoot(NativeActivityContext context, CompensationExtension compensationExtension,
CompensationTokenData
token)
423
CompensationTokenData
parentToken = compensationExtension.Get(token.ParentCompensationId);
430
CompensationTokenData
parentToken = compensationExtension.Get(CompensationToken.RootCompensationId);
457
CompensationTokenData
compensationToken = compensationExtension.Get(compensationId);
483
CompensationTokenData
compensationToken = compensationExtension.Get(compensationId);
509
void AppCompletionCleanup(NativeActivityContext context, CompensationExtension compensationExtension,
CompensationTokenData
compensationToken)
516
CompensationTokenData
parentToken = compensationExtension.Get(compensationToken.ParentCompensationId);
524
CompensationTokenData
parentToken = compensationExtension.Get(CompensationToken.RootCompensationId);
System\Activities\Statements\Compensate.cs (2)
183
CompensationTokenData
ambientTokenData = ambientCompensationToken == null ? null : compensationExtension.Get(ambientCompensationToken.CompensationId);
201
CompensationTokenData
tokenData = compensationToken == null ? null : compensationExtension.Get(compensationToken.CompensationId);
System\Activities\Statements\CompensationExtension.cs (8)
21
Dictionary<long,
CompensationTokenData
> compensationTokenTable;
25
this.compensationTokenTable = new Dictionary<long,
CompensationTokenData
>();
28
internal Dictionary<long,
CompensationTokenData
> CompensationTokenTable
76
internal void Add(long compensationId,
CompensationTokenData
compensationToken)
88
internal
CompensationTokenData
Get(long compensationId)
90
CompensationTokenData
compensationToken = null;
97
CompensationTokenData
compensationToken = null;
181
this.CompensationTokenTable = (Dictionary<long,
CompensationTokenData
>)list[0];
System\Activities\Statements\CompensationParticipant.cs (11)
128
CompensationTokenData
compensationToken = compensationExtension.Get(compensationId);
162
CompensationTokenData
compensationToken = compensationExtension.Get(compensationId);
201
CompensationTokenData
compensationToken = compensationExtension.Get(this.compensationId.Get(context));
228
CompensationTokenData
compensationToken = compensationExtension.Get(this.compensationId.Get(context));
245
CompensationTokenData
compensationToken = compensationExtension.Get(compensationId);
285
CompensationTokenData
compensationToken = compensationExtension.Get(this.compensationId.Get(context));
312
CompensationTokenData
compensationToken = compensationExtension.Get(compensationId);
349
CompensationTokenData
compensationToken = compensationExtension.Get(this.compensationId.Get(context));
373
CompensationTokenData
compensationToken = compensationExtension.Get(this.compensationId.Get(context));
379
void InternalOnCompensationComplete(NativeActivityContext context, CompensationExtension compensationExtension,
CompensationTokenData
compensationToken)
400
CompensationTokenData
compensationToken = compensationExtension.Get(this.compensationId.Get(context));
System\Activities\Statements\CompensationToken.cs (1)
20
internal CompensationToken(
CompensationTokenData
tokenData)
System\Activities\Statements\Confirm.cs (2)
192
CompensationTokenData
ambientTokenData = ambientCompensationToken == null ? null : compensationExtension.Get(ambientCompensationToken.CompensationId);
210
CompensationTokenData
tokenData = compensationToken == null ? null : compensationExtension.Get(compensationToken.CompensationId);
System\Activities\Statements\DefaultCompensation.cs (1)
69
CompensationTokenData
tokenData = token == null ? null : compensationExtension.Get(token.CompensationId);
System\Activities\Statements\DefaultConfirmation.cs (1)
65
CompensationTokenData
tokenData = token == null ? null : compensationExtension.Get(token.CompensationId);
System\Activities\Statements\ExecutionTracker.cs (6)
14
List<
CompensationTokenData
> executionOrderedList;
18
this.executionOrderedList = new List<
CompensationTokenData
>();
30
internal List<
CompensationTokenData
> SerializedExecutionOrderedList
36
public void Add(
CompensationTokenData
compensationToken)
41
public void Remove(
CompensationTokenData
compensationToken)
46
public
CompensationTokenData
Get()
System\Activities\Statements\InternalCompensate.cs (4)
48
CompensationTokenData
tokenData = compensationExtension.Get(compensationToken.CompensationId);
67
CompensationTokenData
tokenData = compensationExtension.Get(compensationToken.CompensationId);
79
CompensationTokenData
parentToken = compensationExtension.Get(tokenData.ParentCompensationId);
87
CompensationTokenData
parentToken = compensationExtension.Get(CompensationToken.RootCompensationId);
System\Activities\Statements\InternalConfirm.cs (4)
48
CompensationTokenData
tokenData = compensationExtension.Get(compensationToken.CompensationId);
68
CompensationTokenData
tokenData = compensationExtension.Get(compensationToken.CompensationId);
80
CompensationTokenData
parentToken = compensationExtension.Get(tokenData.ParentCompensationId);
88
CompensationTokenData
parentToken = compensationExtension.Get(CompensationToken.RootCompensationId);
System\Activities\Statements\WorkflowCompensationBehavior.cs (3)
94
CompensationTokenData
rootHandle = compensationExtension.Get(CompensationToken.RootCompensationId);
126
CompensationTokenData
rootTokenData = compensationExtension.Get(rootToken.CompensationId);
156
CompensationTokenData
rootTokenData = compensationExtension.Get(rootToken.CompensationId);