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); }
public NodeShape(NodeShapes myNodeShape) { Shape = myNodeShape; Uri = null; }
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; }