C# Class CompartmentMapping.ExtensionMethods

Some extention methods
Show file Open project: thabart/SimpleOrm

Public Methods

Method Description
Children ( this shape ) : IList

Gets all children of a ShapeElement as a List

This is a wrapper for easy use of the FindFirstChild() and FindNextChild() methodes

FirstRepresentedElement ( this item ) : object

Findes the first represented element of a DiagramItem

Method Details

Children() public static method

Gets all children of a ShapeElement as a List
This is a wrapper for easy use of the FindFirstChild() and FindNextChild() methodes
public static Children ( this shape ) : IList
shape this a ShapeElement
return IList

FirstRepresentedElement() public static method

Findes the first represented element of a DiagramItem
public static FirstRepresentedElement ( this item ) : object
item this a DiagramItem
return object