Exemple #1
0
        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;
        }
Exemple #2
0
        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);
        }
Exemple #3
0
 public XFlow Merge(XFlow other)
 {
     _stages.AddRange(other._stages);
     return(this);
 }
Exemple #4
0
 public XFlow Merge(XFlow other)
 {
     _stages.AddRange(other._stages);
     return this;
 }