public void EnsureCallIsNotRepeated(IUniqueCall uniqueCall) { var call_ids = (this.Data.ContainsKey("call_ids")) ? this.Data["call_ids"] : ""; call_ids += uniqueCall.UniqueCallId; this.Data["call_ids"] = call_ids; }
public bool IsCallRepeated(IUniqueCall uniqueCall) { return(this.Data.ContainsKey("call_ids") && this.Data["call_ids"].Contains(uniqueCall.UniqueCallId)); }