internal void Connect(KeyValuePair <FlowSourceObjectBase, KeyValuePair <string, string>[]>[] defaultValues) { foreach (FlowInfo flowInfo in flowInfos) { FlowSourceObjectBase src = sources[flowInfo.SrcID], dest = sources[flowInfo.DestID]; src.Connect(src, dest, flowInfo); #if DEBUG //Console.WriteLine("Connect {0}'s{1} to {2}'s{3}", src.GetType().Name, flowInfo.SrcName, dest.GetType().Name, flowInfo.DestName); #endif } this.defaultValues = defaultValues; }
internal void AddEventExecute(FlowEventHandler eventHandler, FlowSourceObjectBase source, bool doContinuously, bool isLoopEnd) { if (eventHandler != null) { if (!doContinuously) { foreach (FlowEventHandler dele in eventHandler.GetInvocationList()) { currentQueue.AddEventSet(new EventSet { EventHandler = dele, Source = source, IsLoopEnd = isLoopEnd }); } } else { foreach (FlowEventHandler dele in eventHandler.GetInvocationList()) { currentQueue.AddEventSetToDepth(new EventSet { EventHandler = dele, Source = source, IsLoopEnd = isLoopEnd }); } } } }
internal void Evaluate(FlowSourceObjectBase source) { Evaluate(source, true); }
internal void AddFlowSourceObject(FlowSourceObjectBase source) { sources.Add(source.Id, source); }