public XFlow AddFlow(string flowId, string friendlyName) { if (GetFlow(flowId) != null) { throw new InvalidOperationException(string.Format("Flow already created with flowId: {0}", flowId)); } var f = new XFlow(_networkStatus, _entitySerialiser, _localStorage).Setup(flowId, friendlyName); _flows.Add(f); return f; }
public XFlow AddFlow(string flowId, string friendlyName) { if (GetFlow(flowId) != null) { throw new InvalidOperationException(string.Format("Flow already created with flowId: {0}", flowId)); } var f = new XFlow(_networkStatus, _entitySerialiser, _localStorage).Setup(flowId, friendlyName); _flows.Add(f); return(f); }
public XFlow Merge(XFlow other) { _stages.AddRange(other._stages); return(this); }
public XFlow Merge(XFlow other) { _stages.AddRange(other._stages); return this; }