1 instantiation of WorkflowApplication
System.Activities (1)
System\Activities\WorkflowApplication.cs (1)
1190
WorkflowApplication instance = new
WorkflowApplication
(activity, inputs, workflowExecutionProperties)
83 references to WorkflowApplication
System.Activities (83)
System\Activities\AsyncInvokeContext.cs (2)
16
SynchronizationContext syncContext = SynchronizationContext.Current ??
WorkflowApplication
.SynchronousSynchronizationContext.Value;
33
public
WorkflowApplication
WorkflowApplication
System\Activities\WorkflowApplication.cs (63)
360
WorkflowApplication
thisPtr = data.Instance;
1174
static
WorkflowApplication
CreateInstance(Activity activity, IDictionary<string, object> inputs, WorkflowInstanceExtensionManager extensions, SynchronizationContext syncContext, Action invokeCompletedCallback)
1190
WorkflowApplication
instance = new WorkflowApplication(activity, inputs, workflowExecutionProperties)
1224
static void RunInstance(
WorkflowApplication
instance)
1238
static
WorkflowApplication
StartInvoke(Activity activity, IDictionary<string, object> inputs, WorkflowInstanceExtensionManager extensions, SynchronizationContext syncContext, Action invokeCompletedCallback, AsyncInvokeContext invokeContext)
1240
WorkflowApplication
instance = CreateInstance(activity, inputs, extensions, syncContext, invokeCompletedCallback);
1255
WorkflowApplication
instance = CreateInstance(activity, inputs, extensions, syncContext, new Action(syncContext.OnInvokeCompleted));
3067
WorkflowApplication
instance;
3080
this.instance =
WorkflowApplication
.StartInvoke(activity, inputs, extensions, syncContext, new Action(this.OnInvokeComplete), invokeContext);
3181
WorkflowApplication
instance;
3191
public ResumeBookmarkAsyncResult(
WorkflowApplication
instance, Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state)
3196
public ResumeBookmarkAsyncResult(
WorkflowApplication
instance, Bookmark bookmark, object value, bool isFromExtension, TimeSpan timeout, AsyncCallback callback, object state)
3436
WorkflowApplication
instance;
3446
public UnloadOrPersistAsyncResult(
WorkflowApplication
instance, TimeSpan timeout, PersistenceOperation operation,
3935
WorkflowApplication
instance;
3938
protected SimpleOperationAsyncResult(
WorkflowApplication
instance, AsyncCallback callback, object state)
3944
protected
WorkflowApplication
Instance
4091
TerminateAsyncResult(
WorkflowApplication
instance, Exception reason, AsyncCallback callback, object state)
4097
public static TerminateAsyncResult Create(
WorkflowApplication
instance, Exception reason, TimeSpan timeout, AsyncCallback callback, object state)
4122
CancelAsyncResult(
WorkflowApplication
instance, AsyncCallback callback, object state)
4127
public static CancelAsyncResult Create(
WorkflowApplication
instance, TimeSpan timeout, AsyncCallback callback, object state)
4154
RunAsyncResult(
WorkflowApplication
instance, bool isUserRun, AsyncCallback callback, object state)
4160
public static RunAsyncResult Create(
WorkflowApplication
instance, bool isUserRun, TimeSpan timeout, AsyncCallback callback, object state)
4288
readonly
WorkflowApplication
application;
4301
public LoadAsyncResult(
WorkflowApplication
application, PersistenceManager persistenceManager,
4315
public LoadAsyncResult(
WorkflowApplication
application, PersistenceManager persistenceManager,
4396
ActivityExecutor deserializedRuntimeState =
WorkflowApplication
.ExtractRuntimeState(thisPtr.values, thisPtr.persistenceManager.InstanceId);
4483
WorkflowIdentity definitionIdentity = this.application != null ? this.application.DefinitionIdentity :
WorkflowApplication
.unknownIdentity;
4889
public WorkflowEventData(
WorkflowApplication
instance)
4894
public
WorkflowApplication
Instance
4900
public Func<IAsyncResult,
WorkflowApplication
, bool, bool> NextCallback
4927
Func<IAsyncResult,
WorkflowApplication
, bool, bool> stage1Callback;
4928
Func<IAsyncResult,
WorkflowApplication
, bool, bool> stage2Callback;
4934
Func<IAsyncResult,
WorkflowApplication
, bool, bool> Stage1Callback
4940
this.stage1Callback = new Func<IAsyncResult,
WorkflowApplication
, bool, bool>(OnStage1Complete);
4947
Func<IAsyncResult,
WorkflowApplication
, bool, bool> Stage2Callback
4953
this.stage2Callback = new Func<IAsyncResult,
WorkflowApplication
, bool, bool>(OnStage2Complete);
4960
public bool Run(
WorkflowApplication
instance)
4980
bool OnStage1Complete(IAsyncResult lastResult,
WorkflowApplication
application, bool isStillSync)
5052
bool OnStage2Complete(IAsyncResult lastResult,
WorkflowApplication
instance, bool isStillSync)
5065
Func<IAsyncResult,
WorkflowApplication
, bool, bool> stage1Callback;
5066
Func<IAsyncResult,
WorkflowApplication
, bool, bool> stage2Callback;
5072
Func<IAsyncResult,
WorkflowApplication
, bool, bool> Stage1Callback
5078
this.stage1Callback = new Func<IAsyncResult,
WorkflowApplication
, bool, bool>(OnStage1Complete);
5085
Func<IAsyncResult,
WorkflowApplication
, bool, bool> Stage2Callback
5091
this.stage2Callback = new Func<IAsyncResult,
WorkflowApplication
, bool, bool>(OnStage2Complete);
5098
public bool Run(
WorkflowApplication
instance)
5115
bool OnStage1Complete(IAsyncResult lastResult,
WorkflowApplication
instance, bool isStillSync)
5188
bool OnStage2Complete(IAsyncResult lastResult,
WorkflowApplication
instance, bool isStillSync)
5206
Func<IAsyncResult,
WorkflowApplication
, bool, bool> stage1Callback;
5212
Func<IAsyncResult,
WorkflowApplication
, bool, bool> Stage1Callback
5218
this.stage1Callback = new Func<IAsyncResult,
WorkflowApplication
, bool, bool>(OnStage1Complete);
5225
public bool Run(
WorkflowApplication
instance, Exception exception, Activity exceptionSource, string exceptionSourceInstanceId)
5246
bool OnStage1Complete(IAsyncResult lastResult,
WorkflowApplication
instance, bool isStillSync)
5251
bool OnStage1Complete(IAsyncResult lastResult,
WorkflowApplication
instance, Exception exception, Activity source, string sourceInstanceId)
5409
public virtual bool CanRun(
WorkflowApplication
instance)
5457
public override bool CanRun(
WorkflowApplication
instance)
5475
public override bool CanRun(
WorkflowApplication
instance)
5483
public override bool CanRun(
WorkflowApplication
instance)
5499
public WaitForTurnData(Action<object, TimeoutException> callback, object state, InstanceOperation operation,
WorkflowApplication
instance)
5525
public
WorkflowApplication
Instance
5839
public static Dictionary<XName, InstanceValue> GenerateInitialData(
WorkflowApplication
instance)
5899
if (!object.ReferenceEquals(definitionIdentity,
WorkflowApplication
.unknownIdentity))
System\Activities\WorkflowApplicationAbortedEventArgs.cs (1)
14
internal WorkflowApplicationAbortedEventArgs(
WorkflowApplication
application, Exception reason)
System\Activities\WorkflowApplicationCompletedEventArgs.cs (1)
18
internal WorkflowApplicationCompletedEventArgs(
WorkflowApplication
application, Exception terminationException, ActivityInstanceState completionState, IDictionary<string, object> outputs)
System\Activities\WorkflowApplicationEventArgs.cs (2)
14
internal WorkflowApplicationEventArgs(
WorkflowApplication
application)
19
internal
WorkflowApplication
Owner
System\Activities\WorkflowApplicationIdleEventArgs.cs (1)
16
internal WorkflowApplicationIdleEventArgs(
WorkflowApplication
application)
System\Activities\WorkflowApplicationInstance.cs (6)
25
WorkflowApplication
.PersistenceManagerBase persistenceManager,
64
internal
WorkflowApplication
.PersistenceManagerBase PersistenceManager
86
WorkflowApplication
.DiscardInstance(this.PersistenceManager, timeout);
99
return
WorkflowApplication
.BeginDiscardInstance(this.PersistenceManager, timeout, callback, state);
104
WorkflowApplication
.EndDiscardInstance(asyncResult);
115
activitiesBlockingUpdate =
WorkflowApplication
.GetActivitiesBlockingUpdate(this, updateMap);
System\Activities\WorkflowApplicationUnhandledExceptionEventArgs.cs (1)
14
internal WorkflowApplicationUnhandledExceptionEventArgs(
WorkflowApplication
application, Exception exception, Activity exceptionSource, string exceptionSourceInstanceId)
System\Activities\WorkflowInvoker.cs (6)
219
return
WorkflowApplication
.EndInvoke(result);
308
IDictionary<string, object> outputs =
WorkflowApplication
.Invoke(workflow, null, extensions, timeout);
335
IDictionary<string, object> outputs =
WorkflowApplication
.Invoke(workflow, inputs, extensions, timeout);
369
return
WorkflowApplication
.BeginInvoke(workflow, inputs, extensions, timeout, null, null, callback, state);
377
return
WorkflowApplication
.BeginInvoke(workflow, null, extensions, timeout, null, null, callback, state);
407
IAsyncResult result =
WorkflowApplication
.BeginInvoke(this.workflow, inputs, this.extensions, timeout, SynchronizationContext.Current, context, invokeCallback, context);