ClosureContextHelper Class
Provides methods to add and retrieve closure context information to and from a particular element walker context.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ClosureContextHelper
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Public NotInheritable Class ClosureContextHelper
public sealed class ClosureContextHelper
public ref class ClosureContextHelper sealed
[<Sealed>]
type ClosureContextHelper = class end
public final class ClosureContextHelper
The ClosureContextHelper type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ClosureContextHelper(ElementGroup) | Constructor that binds to an element group | |
ClosureContextHelper(ElementWalker) | Constructor that binds to an ElementWalker |
Top
Properties
Name | Description | |
---|---|---|
ClosureContext | Get all the Context object from the walker |
Top
Methods
Name | Description | |
---|---|---|
AddClosureElementOperation(ClosureElementOperation) | Add an element closure element operation to the associated context | |
AddClosureElementOperation(ElementGroup, ClosureElementOperation) | Add an element closure element operation to the group's context | |
AddClosureElementOperation(ElementWalker, ClosureElementOperation) | Add an element closure element operation to the walker's context | |
AddContextListData(Object, Object) | Adds the data to the list in the walker's context object for a particular key. This will create the list if it does not exist. | |
AddContextListData(ElementGroup, Object, Object) | Adds the data to the list in the walker's context object for a particular key. This will create the list if it does not exist. | |
AddContextListData(ElementWalker, Object, Object) | Adds the data to the list in the walker's context object for a particular key. This will create the list if it doesn't exist. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetClosureContext(ElementGroup) | Get the closure context from the element walker. | |
GetClosureContext(ElementWalker) | Get the closure context from the element walker. | |
GetContextData(Object) | Get the ContextData for a single key | |
GetContextData(ElementGroup, Object) | Get the ContextData for a single key | |
GetContextData(ElementWalker, Object) | Get the ContextData for a single key | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resolve | Called to resolve the operation | |
SetContextData(Object, Object) | Sets the data in the walker's context object for a particular key | |
SetContextData(ElementGroup, Object, Object) | Sets the data in the walker's context object for a particular key | |
SetContextData(ElementWalker, Object, Object) | Sets the data in the walker's context object for a particular key | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.