public sealed override object GetVertexInfo(TVertex vertex) { if (VertexInfos == null) { return(null); } TVertexInfo info; return(VertexInfos.TryGetValue(vertex, out info) ? info : default(TVertexInfo)); }
public override object GetVertexInfo(TVertex vertex) { TVertexInfo info; if (VertexInfos.TryGetValue(vertex, out info)) { return(info); } return(null); }