internal GridVertexInfo GetVertexInfo(object vertex)
 {
     if (VertexInfo != null)
     {
         var e = new GridVertexInfoEventArgs(vertex);
         VertexInfo(this, e);
         return(e.VertexInfo);
     }
     return(null);
 }
        internal GridVertexInfo GetVertexInfo(object vertex)
        {
            EventHandler <GridVertexInfoEventArgs> handler = VertexInfo;

            if (handler != null)
            {
                var e = new GridVertexInfoEventArgs(vertex);
                handler(this, e);
                return(e.VertexInfo);
            }
            return(null);
        }
 internal GridVertexInfo GetVertexInfo(object vertex)
 {
     if (VertexInfo != null)
     {
         var e = new GridVertexInfoEventArgs(vertex);
         VertexInfo(this, e);
         return e.VertexInfo;
     }
     return null;
 }