C# Class Company.OrmLanguage.OrmLanguageSerializationHelperBase.OrphanedShapeIterator

An iterator to collect all the orphaned shapes.
Inheritance: DslDiagrams::IShapeIterator
显示文件 Open project: thabart/SimpleOrm

Public Methods

Method Description
OnShape ( global::Microsoft.VisualStudio.Modeling.Diagrams shape ) : void

Called when a shape is encountered during iteration. The shape will be stored if it's orphaned. A shape is considered "orphaned" if: 1) It has a PresentationViewsSubject link out of it, but the Subject cannot be resolved. 2) It is a connector, and the Subject is null (regardless of the existence of PresentationViewsSubject relationship).

Private Methods

Method Description
OrphanedShapeIterator ( global orphanedShapes, global::Microsoft.VisualStudio.Modeling.Diagrams diagram ) : System.Linq

Constructor.

Method Details

OnShape() public method

Called when a shape is encountered during iteration. The shape will be stored if it's orphaned. A shape is considered "orphaned" if: 1) It has a PresentationViewsSubject link out of it, but the Subject cannot be resolved. 2) It is a connector, and the Subject is null (regardless of the existence of PresentationViewsSubject relationship).
public OnShape ( global::Microsoft.VisualStudio.Modeling.Diagrams shape ) : void
shape global::Microsoft.VisualStudio.Modeling.Diagrams Shape encountered.
return void