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

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

            return(null);
        }
Example #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);
        }
Example #3
0
 public virtual void FinalizeDeserialization(GraphList graphlist)
 {
 }