public virtual void SetInstance(WorkflowInstanceProxy instance) { if (this.instance != null && instance != null) { throw FxTrace.Exception.AsError(new InvalidOperationException(SR.TimerExtensionAlreadyAttached)); } this.instance = instance; }
/// <summary> /// Sets the specified target <see cref="T:System.Activities.Hosting.WorkflowInstanceProxy"/>. /// </summary> /// <param name="instance">The target workflow instance to set.</param> public void SetInstance(WorkflowInstanceProxy instance) { this.host = instance; }
void IWorkflowInstanceExtension.SetInstance(WorkflowInstanceProxy instance) { this.instance = instance; this.contexts = new ConcurrentDictionary<string, CopyFileContext>(); }
public void SetInstance(WorkflowInstanceProxy instance) { Proxy = instance; }
public virtual void SetInstance (WorkflowInstanceProxy instance) { throw new NotImplementedException (); }
/// <summary> /// Sets the specified target <see cref="T:System.Activities.Hosting.WorkflowInstanceProxy"/>. /// </summary> /// <param name="instance">The target workflow instance to set.</param> public void SetInstance(WorkflowInstanceProxy instance) { this.activityInjector.Inject(instance.WorkflowDefinition); }
public BookmarkResumptionState(Bookmark timerBookmark, DurableTimerExtension timerExtension, WorkflowInstanceProxy instance) { this.TimerBookmark = timerBookmark; this.TimerExtension = timerExtension; this.Instance = instance; }
void IWorkflowInstanceExtension.SetInstance(WorkflowInstanceProxy instance) { this.Instance = instance; }
/// <summary> /// Sets the specified target <see cref="T:System.Activities.Hosting.WorkflowInstanceProxy" />. /// </summary> /// <param name="instance">The target workflow instance to set.</param> public void SetInstance(WorkflowInstanceProxy instance) { WorkflowInstance = instance; if (WorkflowInstanceSet != null) WorkflowInstanceSet(instance); }