1 write to WorkflowDefinition
System.Activities (1)
System\Activities\Hosting\WorkflowInstance.cs (1)
77
this.
WorkflowDefinition
= workflowDefinition;
37 references to WorkflowDefinition
System.Activities (29)
System\Activities\Hosting\WorkflowInstance.cs (24)
207
this.extensions = WorkflowInstanceExtensionManager.CreateInstanceExtensions(this.
WorkflowDefinition
, extensionManager);
295
if (DynamicUpdateMap.CanUseImplementationMapAsRoot(this.
WorkflowDefinition
))
305
updateMap.ThrowIfInvalid(this.
WorkflowDefinition
);
309
this.executor.UpdateInstancePhase1(updateMap, this.
WorkflowDefinition
, ref updateErrors);
322
this.Controller.Track(new WorkflowInstanceUpdatedRecord(this.Id, this.
WorkflowDefinition
.DisplayName, originalDefinitionIdentity, this.executor.WorkflowIdentity));
338
new ActivityBlockingUpdate(this.
WorkflowDefinition
, this.
WorkflowDefinition
.Id, updateException.Message)
341
this.TrackingProvider.AddRecord(new WorkflowInstanceUpdatedRecord(this.Id, this.
WorkflowDefinition
.DisplayName, originalDefinitionIdentity, this.DefinitionIdentity, blockingActivities));
367
if (!
WorkflowDefinition
.IsRuntimeReady)
380
ActivityUtilities.CacheRootMetadata(
WorkflowDefinition
, localEnvironment, ProcessActivityTreeOptions.FullCachingOptions, null, ref validationErrors);
395
this.trackingProvider = new TrackingProvider(this.
WorkflowDefinition
);
419
Fx.Assert(this.
WorkflowDefinition
.IsRuntimeReady, "EnsureDefinitionReady should have been called");
423
WorkflowDefinition
.HasBeenAssociatedWithAnInstance = true;
434
if (this.
WorkflowDefinition
.RuntimeArguments.Count > 0 || (actualInputs != null && actualInputs.Count > 0))
436
ActivityValidationServices.ValidateRootInputs(this.
WorkflowDefinition
, actualInputs);
439
this.executor.ScheduleRootActivity(this.
WorkflowDefinition
, actualInputs, workflowExecutionProperties);
443
this.executor.OnDeserialized(this.
WorkflowDefinition
, this);
550
this.controller.Track(new WorkflowInstanceUnhandledExceptionRecord(this.Id, this.
WorkflowDefinition
.DisplayName, faultSourceInfo, exception, this.DefinitionIdentity));
632
this.controller.Track(new WorkflowInstanceAbortedRecord(this.Id, this.
WorkflowDefinition
.DisplayName, message, this.DefinitionIdentity));
704
this.controller.Track(new WorkflowInstanceTerminatedRecord(this.Id, this.
WorkflowDefinition
.DisplayName, this.executor.TerminationException.Message, this.DefinitionIdentity));
708
this.controller.Track(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Completed, this.DefinitionIdentity));
713
this.controller.Track(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Canceled, this.DefinitionIdentity));
728
this.TrackingProvider.AddRecord(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Started, this.DefinitionIdentity));
733
this.TrackingProvider.AddRecord(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Resumed, this.DefinitionIdentity));
System\Activities\Hosting\WorkflowInstanceProxy.cs (1)
31
return this.instance.
WorkflowDefinition
;
System\Activities\WorkflowApplication.cs (4)
2271
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Deleted, this.DefinitionIdentity));
2275
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Unloaded, this.DefinitionIdentity));
2279
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Persisted, this.DefinitionIdentity));
4966
instance.Controller.Track(new WorkflowInstanceRecord(instance.Id, instance.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Idle, instance.DefinitionIdentity));
System.ServiceModel.Activities (8)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (8)
1285
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Idle, this.DefinitionIdentity));
1505
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Deleted, this.DefinitionIdentity));
1510
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Unloaded, this.DefinitionIdentity));
1515
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Persisted, this.DefinitionIdentity));
4403
this.Instance.Controller.Track(new WorkflowInstanceRecord(this.Instance.Id, this.Instance.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Unloaded, this.Instance.DefinitionIdentity));
4496
this.Instance.Controller.Track(new WorkflowInstanceSuspendedRecord(this.Instance.Id, this.Instance.
WorkflowDefinition
.DisplayName, data.reason.Message, this.Instance.DefinitionIdentity));
4702
thisPtr.parent.Instance.Controller.Track(new WorkflowInstanceSuspendedRecord(thisPtr.parent.Instance.Id, thisPtr.parent.Instance.
WorkflowDefinition
.DisplayName, thisPtr.parent.reason, thisPtr.parent.Instance.DefinitionIdentity));
4763
this.Instance.Controller.Track(new WorkflowInstanceRecord(this.Instance.Id, this.Instance.
WorkflowDefinition
.DisplayName, WorkflowInstanceStates.Unsuspended, this.Instance.DefinitionIdentity));