Beispiel #1
0
        public virtual GraphBase FindGraphByKey(string key, GraphList graphlist)
        {
            if (graphlist == null)
            {
                return(null);
            }

            if (graphlist.ContainsKey(key))
            {
                return(graphlist[key]);
            }

            return(null);
        }
Beispiel #2
0
        public virtual GraphPoint FindPointByKey(string key, GraphList graphlist)
        {
            if (graphlist == null)
            {
                return(null);
            }

            GraphPoint p = null;

            foreach (GraphBase g in graphlist.Values)
            {
                p = g.GetPointByKey(key);
                if (p != null)
                {
                    return(p);
                }
            }

            return(null);
        }
Beispiel #3
0
 public virtual void FinalizeDeserialization(GraphList graphlist)
 {
 }