DynamicTypeService.ContextTypeResolver Class

An IDisposable object that routes assembly/type resolution issues to the ITypeResolutionService for the given hierarchy. It is instantiated by a call to [M:Microsoft.VisualStudio.Shell.Design.DynamicTypeService.GetContextTypeResolver(T:Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy)].

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Class ContextTypeResolver _
    Implements IDisposable
'Usage
Dim instance As DynamicTypeService.ContextTypeResolver
public class ContextTypeResolver : IDisposable
public ref class ContextTypeResolver : IDisposable
public class ContextTypeResolver implements IDisposable

Examples

using (ContextTypeResolver ctxResolver = dts.GetContextTypeResolver(hierarchy))

{

//code that needs resolution and type binding...

}

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Design.DynamicTypeService.ContextTypeResolver

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.

See Also

Reference

DynamicTypeService.ContextTypeResolver Members

Microsoft.VisualStudio.Shell.Design Namespace