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