public ServiceSingleEdgeView(ISingleEdgeView myEdgeView)
     : base(myEdgeView.GetAllProperties())
 {
     var _Vertices = myEdgeView.GetTargetVertices();
     if (_Vertices.Count() > 0)
         TargetVertex = new ServiceVertexView(_Vertices.First());
     else
         TargetVertex = null;
 }
Beispiel #2
0
        public ServiceSingleEdgeView(ISingleEdgeView myEdgeView) : base(myEdgeView.GetAllProperties())
        {
            var _Vertices = myEdgeView.GetTargetVertices();

            if (_Vertices.Count() > 0)
            {
                TargetVertex = new ServiceVertexView(_Vertices.First());
            }
            else
            {
                TargetVertex = null;
            }
        }