Ejemplo n.º 1
0
        public static INode SetShape(this INode myINode, NodeShapes myNodeShape)
        {
            if (myINode == null)
            {
                throw new ArgumentNullException("myINode must not be null!");
            }

            myINode.Shape = new NodeShape(myNodeShape);

            return(myINode);
        }
Ejemplo n.º 2
0
 public NodeShape(NodeShapes myNodeShape)
 {
     Shape = myNodeShape;
     Uri   = null;
 }
Ejemplo n.º 3
0
        public static INode SetShape(this INode myINode, NodeShapes myNodeShape)
        {
            if (myINode == null)
                throw new ArgumentNullException("myINode must not be null!");

            myINode.Shape = new NodeShape(myNodeShape);

            return myINode;
        }
Ejemplo n.º 4
0
 public NodeShape(NodeShapes myNodeShape)
 {
     Shape = myNodeShape;
     Uri   = null;
 }