Export (0) Print
Expand All

ClosureContextHelper Class

Provides methods to add and retrieve closure context information to and from a particular element walker context.

System.Object
  Microsoft.VisualStudio.Modeling.ClosureContextHelper

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public sealed class ClosureContextHelper

The ClosureContextHelper type exposes the following members.

  NameDescription
Public methodClosureContextHelper(ElementGroup)Constructor that binds to an element group
Public methodClosureContextHelper(ElementWalker)Constructor that binds to an ElementWalker
Top

  NameDescription
Public propertyClosureContextGet all the Context object from the walker
Top

  NameDescription
Public methodAddClosureElementOperation(ClosureElementOperation)Add an element closure element operation to the associated context
Public methodStatic memberAddClosureElementOperation(ElementGroup, ClosureElementOperation)Add an element closure element operation to the group's context
Public methodStatic memberAddClosureElementOperation(ElementWalker, ClosureElementOperation)Add an element closure element operation to the walker's context
Public methodAddContextListData(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.
Public methodStatic memberAddContextListData(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.
Public methodStatic memberAddContextListData(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.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic memberGetClosureContext(ElementGroup)Get the closure context from the element walker.
Public methodStatic memberGetClosureContext(ElementWalker)Get the closure context from the element walker.
Public methodGetContextData(Object)Get the ContextData for a single key
Public methodStatic memberGetContextData(ElementGroup, Object)Get the ContextData for a single key
Public methodStatic memberGetContextData(ElementWalker, Object)Get the ContextData for a single key
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodResolveCalled to resolve the operation
Public methodSetContextData(Object, Object)Sets the data in the walker's context object for a particular key
Public methodStatic memberSetContextData(ElementGroup, Object, Object)Sets the data in the walker's context object for a particular key
Public methodStatic memberSetContextData(ElementWalker, Object, Object)Sets the data in the walker's context object for a particular key
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft