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 GetContextTypeResolver.

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

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

public class ContextTypeResolver : IDisposable

NameDescription
System_CAPS_pubmethodDynamicTypeService.ContextTypeResolver(ITypeResolutionService)

Initializes a new instance of DynamicTypeService.ContextTypeResolver for the specified service.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

Disposes the object and its resources.

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

{

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

}

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

Return to top
Show: