4 instantiations of ActivityBlockingUpdate
System.Activities (4)
System\Activities\DynamicUpdate\ActivityBlockingUpdate.cs (2)
146
ActivityBlockingUpdate blockingActivity = new
ActivityBlockingUpdate
(activity, originalActivityId, reason, activityInstanceId);
157
ActivityBlockingUpdate blockingActivity = new
ActivityBlockingUpdate
(updatedActivityId, originalActivityId, reason, activityInstanceId);
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
449
this.blockList.Add(new
ActivityBlockingUpdate
(activity, originalActivityId, message ?? UpdateBlockedReasonMessages.Get(reason)));
System\Activities\Hosting\WorkflowInstance.cs (1)
338
new
ActivityBlockingUpdate
(this.WorkflowDefinition, this.WorkflowDefinition.Id, updateException.Message)
59 references to ActivityBlockingUpdate
System.Activities (59)
System\Activities\DynamicUpdate\ActivityBlockingUpdate.cs (6)
139
internal static void AddBlockingActivity(ref Collection<
ActivityBlockingUpdate
> blockingActivities, Activity activity, string originalActivityId, string reason, string activityInstanceId)
143
blockingActivities = new Collection<
ActivityBlockingUpdate
>();
146
ActivityBlockingUpdate
blockingActivity = new ActivityBlockingUpdate(activity, originalActivityId, reason, activityInstanceId);
150
internal static void AddBlockingActivity(ref Collection<
ActivityBlockingUpdate
> blockingActivities, string updatedActivityId, string originalActivityId, string reason, string activityInstanceId)
154
blockingActivities = new Collection<
ActivityBlockingUpdate
>();
157
ActivityBlockingUpdate
blockingActivity = new ActivityBlockingUpdate(updatedActivityId, originalActivityId, reason, activityInstanceId);
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (5)
99
IList<
ActivityBlockingUpdate
> activitiesBlockingUpdate;
104
public DynamicUpdateMap CreateMap(out IList<
ActivityBlockingUpdate
> activitiesBlockingUpdate)
305
IList<
ActivityBlockingUpdate
> blockList;
316
public DynamicUpdateMap FinalizeUpdate(out IList<
ActivityBlockingUpdate
> blockList)
319
this.blockList = new List<
ActivityBlockingUpdate
>();
System\Activities\DynamicUpdate\DynamicUpdateServices.cs (5)
97
IList<
ActivityBlockingUpdate
> activitiesBlockingUpdate;
102
public static DynamicUpdateMap CreateUpdateMap(Activity updatedWorkflowDefinition, IEnumerable<Activity> disallowUpdateInsideActivities, out IList<
ActivityBlockingUpdate
> activitiesBlockingUpdate)
136
IList<
ActivityBlockingUpdate
> activitiesBlockingUpdate;
141
public static DynamicUpdateMap CreateUpdateMap(ActivityBuilder updatedActivityDefinition, IEnumerable<Activity> disallowUpdateInsideActivities, out IList<
ActivityBlockingUpdate
> activitiesBlockingUpdate)
171
private static DynamicUpdateMap InternalTryCreateUpdateMap(Activity updatedDefinition, Activity originalDefinition, IEnumerable<Activity> disallowUpdateInsideActivities, bool forImplementation, out IList<
ActivityBlockingUpdate
> activitiesBlockingUpdate)
System\Activities\DynamicUpdate\InstanceUpdateException.cs (13)
18
private ReadOnlyCollection<
ActivityBlockingUpdate
> blockingActivities;
35
public InstanceUpdateException(IList<
ActivityBlockingUpdate
> blockingActivities)
40
public InstanceUpdateException(string message, IList<
ActivityBlockingUpdate
> blockingActivities)
45
this.blockingActivities = new ReadOnlyCollection<
ActivityBlockingUpdate
>(blockingActivities);
49
public InstanceUpdateException(string message, IList<
ActivityBlockingUpdate
> blockingActivities, Exception innerException)
54
this.blockingActivities = new ReadOnlyCollection<
ActivityBlockingUpdate
>(blockingActivities);
61
this.blockingActivities = (ReadOnlyCollection<
ActivityBlockingUpdate
>)info.GetValue(
62
"blockingActivities", typeof(ReadOnlyCollection<
ActivityBlockingUpdate
>));
65
public IList<
ActivityBlockingUpdate
> BlockingActivities
71
this.blockingActivities = new ReadOnlyCollection<
ActivityBlockingUpdate
>(new
ActivityBlockingUpdate
[0]);
86
private static string BuildMessage(IList<
ActivityBlockingUpdate
> blockingActivities)
103
private static string GetMessage(
ActivityBlockingUpdate
blockingActivity)
System\Activities\Hosting\WorkflowInstance.cs (7)
224
protected static IList<
ActivityBlockingUpdate
> GetActivitiesBlockingUpdate(object deserializedRuntimeState, DynamicUpdateMap updateMap)
241
IList<
ActivityBlockingUpdate
> result = executor.GetActivitiesBlockingUpdate(rootMap);
244
result = new List<
ActivityBlockingUpdate
>();
285
Collection<
ActivityBlockingUpdate
> updateErrors = null;
333
IList<
ActivityBlockingUpdate
> blockingActivities = updateException.BlockingActivities;
336
blockingActivities = new List<
ActivityBlockingUpdate
>
354
void ThrowIfDynamicUpdateErrorExists(Collection<
ActivityBlockingUpdate
> updateErrors)
System\Activities\Runtime\ActivityExecutor.cs (4)
846
public IList<
ActivityBlockingUpdate
> GetActivitiesBlockingUpdate(DynamicUpdateMap updateMap)
849
Collection<
ActivityBlockingUpdate
> result = null;
854
public void UpdateInstancePhase1(DynamicUpdateMap updateMap, Activity targetDefinition, ref Collection<
ActivityBlockingUpdate
> updateErrors)
860
public void UpdateInstancePhase2(DynamicUpdateMap updateMap, ref Collection<
ActivityBlockingUpdate
> updateErrors)
System\Activities\Runtime\ActivityInstanceMap.cs (10)
76
private static void AddBlockingActivity(ref Collection<
ActivityBlockingUpdate
> updateErrors, DynamicUpdateMap.UpdatedActivity updatedActivity, QualifiedId originalId, string reason, string activityInstanceId)
80
ActivityBlockingUpdate
.AddBlockingActivity(ref updateErrors, updatedActivity.NewActivity, originalId.ToString(), reason, activityInstanceId);
85
ActivityBlockingUpdate
.AddBlockingActivity(ref updateErrors, updatedId, originalId.ToString(), reason, activityInstanceId);
89
public void GetActivitiesBlockingUpdate(DynamicUpdateMap updateMap, List<ActivityInstance> secondaryRootInstances, ref Collection<
ActivityBlockingUpdate
> updateErrors)
111
private static bool CanCompensationOrConfirmationHandlerReferenceAddedSymbols(InstanceList instanceList, DynamicUpdateMap rootUpdateMap, IdSpace rootIdSpace, List<ActivityInstance> secondaryRootInstances, ref Collection<
ActivityBlockingUpdate
> updateErrors)
178
private static bool IsInvalidEnvironmentUpdate(InstanceList instanceList, DynamicUpdateMap.UpdatedActivity updatedActivity, ref Collection<
ActivityBlockingUpdate
> updateErrors)
256
private IList<InstanceListNeedingUpdate> GetInstanceListsNeedingUpdate(DynamicUpdateMap updateMap, Activity targetDefinition, List<ActivityInstance> secondaryRootInstances, ref Collection<
ActivityBlockingUpdate
> updateErrors)
362
public void UpdateRawInstance(DynamicUpdateMap updateMap, Activity targetDefinition, List<ActivityInstance> secondaryRootInstances, ref Collection<
ActivityBlockingUpdate
> updateErrors)
443
public void UpdateInstanceByActivityParticipation(ActivityExecutor activityExecutor, DynamicUpdateMap rootMap, ref Collection<
ActivityBlockingUpdate
> updateErrors)
478
ActivityBlockingUpdate
.AddBlockingActivity(ref updateErrors, instance.Activity, new QualifiedId(participant.OriginalId).ToString(), updateContext.DisallowedReason, instance.Id);
System\Activities\Tracking\WorkflowInstanceUpdatedRecord.cs (7)
19
IList<
ActivityBlockingUpdate
> blockingActivities;
27
public WorkflowInstanceUpdatedRecord(Guid instanceId, string activityDefinitionId, WorkflowIdentity originalDefinitionIdentity, WorkflowIdentity updatedDefinitionIdentity, IList<
ActivityBlockingUpdate
> blockingActivities)
31
this.BlockingActivities = new List<
ActivityBlockingUpdate
>(blockingActivities).AsReadOnly();
40
public WorkflowInstanceUpdatedRecord(Guid instanceId, long recordNumber, string activityDefinitionId, WorkflowIdentity originalDefinitionIdentity, WorkflowIdentity updatedDefinitionIdentity, IList<
ActivityBlockingUpdate
> blockingActivities)
44
this.BlockingActivities = new List<
ActivityBlockingUpdate
>(blockingActivities).AsReadOnly();
74
public IList<
ActivityBlockingUpdate
> BlockingActivities
94
internal IList<
ActivityBlockingUpdate
> SerializedBlockingActivities
System\Activities\WorkflowApplication.cs (1)
2078
internal static IList<
ActivityBlockingUpdate
> GetActivitiesBlockingUpdate(WorkflowApplicationInstance instance, DynamicUpdateMap updateMap)
System\Activities\WorkflowApplicationInstance.cs (1)
108
public bool CanApplyUpdate(DynamicUpdateMap updateMap, out IList<
ActivityBlockingUpdate
> activitiesBlockingUpdate)