public void AddAutoTrigger(AutoTrigger autoTrigger, IWorkflowInstanceEntity entity) { var workItem = WorkItem.Create( autoTrigger.Trigger, entity.Id, entity.Type, autoTrigger.DueDate ); this.DbContext.WorkItems.Add(workItem); }
private void CreateWorkItemEntry(AutoTrigger autoTrigger, IEntityWorkflow entity) { var workItem = WorkItem.Create( autoTrigger.Trigger, entity.Id, entity.Type, autoTrigger.DueDate ); this._context.WorkItems.Add(workItem); }
private IEnumerator BeatsElapsed(AutoTrigger at, float time) { yield return(new WaitForSeconds(time)); at.EndBeatsElapsed(); }
public void StartBeatsElapsed(AutoTrigger at, float time) { StartCoroutine(BeatsElapsed(at, time)); }
// These need to be outside of AutoTrigger because it isn't a MonoBehaviour public void StartTimeElapsed(AutoTrigger at, float time) { StartCoroutine(TimeElapsed(at, time)); }
private IEnumerator BeatsElapsed (AutoTrigger at, float time) { yield return new WaitForSeconds (time); at.EndBeatsElapsed (); }
public void StartBeatsElapsed (AutoTrigger at, float time) { StartCoroutine (BeatsElapsed (at, time)); }
// These need to be outside of AutoTrigger because it isn't a MonoBehaviour public void StartTimeElapsed (AutoTrigger at, float time) { StartCoroutine (TimeElapsed (at, time)); }