Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents a walker that builds closures on model elements.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ElementWalker
Microsoft.VisualStudio.Modeling.BreadthFirstRolePlayerFirstElementWalker
Microsoft.VisualStudio.Modeling.ElementClosureWalker
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public NotInheritable Class ElementClosureWalker _
Inherits BreadthFirstRolePlayerFirstElementWalker
public sealed class ElementClosureWalker : BreadthFirstRolePlayerFirstElementWalker
public ref class ElementClosureWalker sealed : public BreadthFirstRolePlayerFirstElementWalker
[<Sealed>]
type ElementClosureWalker =
class
inherit BreadthFirstRolePlayerFirstElementWalker
end
public final class ElementClosureWalker extends BreadthFirstRolePlayerFirstElementWalker
The ElementClosureWalker type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>) | Constructor that creates an ElementVisitor and calls base. This results in breadth first traversal, pre-Order visitation of the graph with element links. |
![]() |
ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>, IEnumerable<DomainRoleInfo>) | Constructor that creates an ElementVisitor and calls base. This results in breadth first traversal, pre-Order visitation of the graph with element links. |
![]() |
ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>, IEnumerable<DomainRoleInfo>, IList<DomainRoleInfo>) | Constructor that creates an ElementVisitor and calls base. This results in breadth first traversal, pre-Order visitation of the graph with element links. |
![]() |
ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>, Boolean, IEnumerable<DomainRoleInfo>, Boolean) | Constructor that creates an ElementVisitor and calls base. This results in breadth first traversal, pre-Order visitation of the graph with element links. |
![]() |
ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>, Boolean, IEnumerable<DomainRoleInfo>, IEnumerable<DomainRoleInfo>, IList<ModelElement>) | Constructor that creates an ElementVisitor and calls base. This results in breadth first traversal, pre-Order visitation of the graph with element links. |
![]() |
ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>, Boolean, IEnumerable<DomainRoleInfo>, IList<DomainRoleInfo>, Boolean) | Constructor that creates an ElementVisitor and calls base. This results in breadth first traversal, pre-Order visitation of the graph with element links. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
BypassDemandLoading | Allows the walker to bypass demand loading while traversing (Inherited from ElementWalker.) |
![]() |
ClosureList | Resultant List of elements that form the closure |
![]() |
Context | Offer a context object for general use by the closure visitors. Use it to store tag/value pairs while building closures. |
![]() |
Filter | Get or set the IElementVisitorFilter for use during traversal (Inherited from ElementWalker.) |
![]() |
IncludeLinks | Returns true if the walker will include element links in calls to the visitor function (Inherited from ElementWalker.) |
![]() |
InternalElementList | Get the internal list of elements that will be visited (Inherited from ElementWalker.) |
![]() |
Store | Get the internal list of elements that will be visited (Inherited from ElementWalker.) |
![]() |
Visitor | Get or set the IElementVisitor for use during traversal (Inherited from ElementWalker.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
DoTraverse | Visit the elements defined by the visitor and filter. (Inherited from BreadthFirstRolePlayerFirstElementWalker.) |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Reset | Reset the visitor so that it can start traversing again. This is necessary to clear out the internal list of previously visited elements. (Inherited from ElementWalker.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
Traverse(ModelElement) | Traverse the model starting at the specified starting element. (Inherited from ElementWalker.) |
![]() |
Traverse(ICollection<ModelElement>) | Traverse the model starting at the specified starting elements. (Inherited from ElementWalker.) |
![]() |
Visited | determines if the given element has been visited or not (Inherited from ElementWalker.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)