54 references to InstanceValueConsistency
System.Activities.DurableInstancing (3)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (1)
504
bool metadataConsistency = (base.InstancePersistenceContext.InstanceView.InstanceMetadataConsistency ==
InstanceValueConsistency
.None);
System\Activities\DurableInstancing\SerializationUtilities.cs (2)
116
if (context.InstanceView.InstanceMetadataConsistency ==
InstanceValueConsistency
.None)
131
if (context.InstanceView.InstanceMetadataConsistency ==
InstanceValueConsistency
.None)
System.Runtime.DurableInstancing (51)
System\Runtime\DurableInstancing\InstanceKeyView.cs (3)
24
InstanceKeyMetadataConsistency =
InstanceValueConsistency
.InDoubt |
InstanceValueConsistency
.Partial;
39
public
InstanceValueConsistency
InstanceKeyMetadataConsistency { get; internal set; }
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (36)
286
InstanceView.InstanceDataConsistency =
InstanceValueConsistency
.None;
313
InstanceValueConsistency
consistency = InstanceView.IsBoundToLock || state == InstanceState.Completed ?
InstanceValueConsistency
.None :
InstanceValueConsistency
.InDoubt;
331
view.InstanceKeyMetadataConsistency = InstanceView.IsBoundToLock ?
InstanceValueConsistency
.None :
InstanceValueConsistency
.InDoubt;
365
if ((InstanceView.InstanceKeysConsistency &
InstanceValueConsistency
.InDoubt) == 0)
385
if (InstanceView.InstanceMetadataConsistency ==
InstanceValueConsistency
.None)
393
InstanceView.InstanceMetadataConsistency = InstanceView.IsBoundToLock || InstanceView.InstanceState == InstanceState.Completed ?
InstanceValueConsistency
.None :
InstanceValueConsistency
.InDoubt;
397
if ((InstanceView.IsBoundToLock || InstanceView.InstanceState == InstanceState.Completed) && (InstanceView.InstanceMetadataConsistency &
InstanceValueConsistency
.InDoubt) != 0)
401
InstanceView.InstanceMetadataConsistency =
InstanceValueConsistency
.Partial;
406
InstanceView.InstanceMetadataConsistency |=
InstanceValueConsistency
.Partial;
439
if ((InstanceView.InstanceKeysConsistency &
InstanceValueConsistency
.InDoubt) == 0 && copy.ContainsKey(key))
445
keyView.InstanceKeyMetadataConsistency =
InstanceValueConsistency
.None;
462
if ((InstanceView.InstanceKeysConsistency &
InstanceValueConsistency
.InDoubt) == 0)
471
else if ((InstanceView.InstanceKeysConsistency &
InstanceValueConsistency
.Partial) == 0)
486
keyView.InstanceKeyMetadataConsistency =
InstanceValueConsistency
.Partial;
504
if ((InstanceView.InstanceKeysConsistency &
InstanceValueConsistency
.InDoubt) == 0)
513
else if ((InstanceView.InstanceKeysConsistency &
InstanceValueConsistency
.Partial) == 0)
539
if (InstanceView.InstanceKeysConsistency ==
InstanceValueConsistency
.None)
549
keyView.InstanceKeyMetadataConsistency =
InstanceValueConsistency
.None;
554
keyView.InstanceKeyMetadataConsistency =
InstanceValueConsistency
.Partial;
558
keyView.InstanceKeyMetadataConsistency |=
InstanceValueConsistency
.InDoubt;
565
if (keyView.InstanceKeyMetadataConsistency ==
InstanceValueConsistency
.None)
573
keyView.InstanceKeyMetadataConsistency = InstanceView.IsBoundToLock || InstanceView.InstanceState == InstanceState.Completed ?
InstanceValueConsistency
.None :
InstanceValueConsistency
.InDoubt;
577
if ((InstanceView.IsBoundToLock || InstanceView.InstanceState == InstanceState.Completed) && (keyView.InstanceKeyMetadataConsistency &
InstanceValueConsistency
.InDoubt) != 0)
581
keyView.InstanceKeyMetadataConsistency =
InstanceValueConsistency
.Partial;
586
keyView.InstanceKeyMetadataConsistency |=
InstanceValueConsistency
.Partial;
613
if (InstanceView.InstanceKeysConsistency ==
InstanceValueConsistency
.None)
623
keyView.InstanceKeyMetadataConsistency =
InstanceValueConsistency
.Partial;
626
InstanceView.InstanceKeysConsistency |=
InstanceValueConsistency
.Partial;
640
if (InstanceView.InstanceOwnerMetadataConsistency ==
InstanceValueConsistency
.None)
648
InstanceView.InstanceOwnerMetadataConsistency =
InstanceValueConsistency
.InDoubt;
653
InstanceView.InstanceOwnerMetadataConsistency |=
InstanceValueConsistency
.Partial;
System\Runtime\DurableInstancing\InstanceView.cs (12)
52
InstanceDataConsistency =
InstanceValueConsistency
.InDoubt |
InstanceValueConsistency
.Partial;
53
InstanceMetadataConsistency =
InstanceValueConsistency
.InDoubt |
InstanceValueConsistency
.Partial;
54
InstanceOwnerMetadataConsistency =
InstanceValueConsistency
.InDoubt |
InstanceValueConsistency
.Partial;
55
InstanceKeysConsistency =
InstanceValueConsistency
.InDoubt |
InstanceValueConsistency
.Partial;
115
public
InstanceValueConsistency
InstanceDataConsistency { get; internal set; }
129
public
InstanceValueConsistency
InstanceMetadataConsistency { get; internal set; }
158
public
InstanceValueConsistency
InstanceOwnerMetadataConsistency { get; internal set; }
187
public
InstanceValueConsistency
InstanceKeysConsistency { get; internal set; }