public IInteractionCase CreateCase(string caseName) { InteractionCase interactionCase = new InteractionCase(this, caseName); _cases.Add(interactionCase); return(interactionCase); }
public void DeleteCase(Guid caseGuid) { InteractionCase interactionCase = _cases.GetCase(caseGuid) as InteractionCase; if (interactionCase != null) { _cases.Remove(interactionCase); } }
public void AddCase(IInteractionCase interactionCase, int index) { InteractionCase newCase = interactionCase as InteractionCase; if (newCase != null) { _cases.Insert(index, newCase); newCase.InteractionEvent = this; } }
public bool MoveCase(Guid caseGuid, int delta) { InteractionCase interactionCase = _cases.GetCase(caseGuid) as InteractionCase; if (interactionCase != null) { return(_cases.MoveItem(interactionCase, delta)); } return(false); }