public WorkflowServiceInstance InitializeInstance(Guid instanceId, PersistenceContext context, IDictionary <XName, InstanceValue> instance, WorkflowCreationContext creationContext) { return(WorkflowServiceInstance.InitializeInstance(context, instanceId, this.workflowDefinition, instance, creationContext, WorkflowSynchronizationContext.Instance, this.serviceHost)); }
internal void RemoveInstance(PersistenceContext context) { this.RemoveInstance(context, false); }
internal PersistenceContextEnlistment(PersistenceContext context, Transaction transaction) { this.transaction = transaction; this.enlistedContexts = new List <PersistenceContext>(); this.enlistedContexts.Add(context); }