14 writes to CompensationState
System.Activities (14)
System\Activities\Statements\CompensableActivity.cs (7)
351
CompensationState
= CompensationState.Active,
375
tokenData.
CompensationState
= CompensationState.Completed;
395
token.
CompensationState
= CompensationState.Completed;
403
token.
CompensationState
= CompensationState.Compensating;
409
token.
CompensationState
= CompensationState.Canceling;
489
compensationToken.
CompensationState
= CompensationState.Canceled;
492
compensationToken.
CompensationState
= CompensationState.Compensated;
System\Activities\Statements\Compensate.cs (1)
220
tokenData.
CompensationState
= CompensationState.Compensating;
System\Activities\Statements\CompensationTokenData.cs (1)
24
this.
CompensationState
= CompensationState.Creating;
System\Activities\Statements\Confirm.cs (1)
229
tokenData.
CompensationState
= CompensationState.Confirming;
System\Activities\Statements\InternalCompensate.cs (2)
54
tokenData.
CompensationState
= CompensationState.Compensating;
70
tokenData.
CompensationState
= CompensationState.Compensated;
System\Activities\Statements\InternalConfirm.cs (2)
54
tokenData.
CompensationState
= CompensationState.Confirming;
71
tokenData.
CompensationState
= CompensationState.Confirmed;
23 references to CompensationState
System.Activities (23)
System\Activities\Statements\CompensableActivity.cs (8)
365
TD.CompensationState(tokenData.DisplayName, tokenData.
CompensationState
.ToString());
378
TD.CompensationState(tokenData.DisplayName, tokenData.
CompensationState
.ToString());
398
TD.CompensationState(token.DisplayName, token.
CompensationState
.ToString());
437
if (Result != null && token.
CompensationState
== CompensationState.Completed)
460
if (compensationToken.
CompensationState
== CompensationState.Canceling)
467
else if (compensationToken.
CompensationState
== CompensationState.Compensating)
486
switch (compensationToken.
CompensationState
)
500
TD.CompensationState(compensationToken.DisplayName, compensationToken.
CompensationState
.ToString());
System\Activities\Statements\Compensate.cs (1)
214
if (tokenData == null || tokenData.
CompensationState
!= CompensationState.Completed)
System\Activities\Statements\CompensationParticipant.cs (11)
165
Fx.Assert(compensationToken.
CompensationState
== CompensationState.Confirming, "CompensationState should be in Confirming state");
169
TD.CompensationState(compensationToken.DisplayName, compensationToken.
CompensationState
.ToString());
206
Fx.Assert(compensationToken.
CompensationState
== CompensationState.Confirming, "CompensationParticipant should be in Confirming State");
248
Fx.Assert(compensationToken.
CompensationState
== CompensationState.Compensating, "CompensationState should be in Compensating state");
252
TD.CompensationState(compensationToken.DisplayName, compensationToken.
CompensationState
.ToString());
290
Fx.Assert(compensationToken.
CompensationState
== CompensationState.Compensating, "CompensationParticipant should be in Compensating State");
315
Fx.Assert(compensationToken.
CompensationState
== CompensationState.Canceling, "CompensationState should be in Canceling state");
319
TD.CompensationState(compensationToken.DisplayName, compensationToken.
CompensationState
.ToString());
354
Fx.Assert(compensationToken.
CompensationState
== CompensationState.Canceling, "CompensationParticipant should be in Canceling State");
381
switch (compensationToken.
CompensationState
)
405
switch (compensationToken.
CompensationState
)
System\Activities\Statements\Confirm.cs (1)
223
if (tokenData == null || tokenData.
CompensationState
!= CompensationState.Completed)
System\Activities\Statements\InternalCompensate.cs (1)
73
TD.CompensationState(tokenData.DisplayName, tokenData.
CompensationState
.ToString());
System\Activities\Statements\InternalConfirm.cs (1)
74
TD.CompensationState(tokenData.DisplayName, tokenData.
CompensationState
.ToString());