Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.IVsHierarchyhierarchy)].
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.Design.DynamicTypeService.ContextTypeResolver
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Class ContextTypeResolver _
Implements IDisposable
public class ContextTypeResolver : IDisposable
public ref class ContextTypeResolver : IDisposable
type ContextTypeResolver =
class
interface IDisposable
end
public class ContextTypeResolver implements IDisposable
The DynamicTypeService.ContextTypeResolver type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
DynamicTypeService.ContextTypeResolver | Initializes a new instance of DynamicTypeService.ContextTypeResolver for the specified service. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
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.) |
![]() |
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.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IDisposable.Dispose | Disposes the object and its resources. |
Top
Examples
using (ContextTypeResolver ctxResolver = dts.GetContextTypeResolver(hierarchy))
{
//code that needs resolution and type binding...
}
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.