Freigeben über


DynamicTypeService Class

Provides instances of ITypeResolutionService for a project.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<GuidAttribute("FC43BF19-86FE-4255-901E-15C8D236F3A4")> _
<CLSCompliantAttribute(False)> _
Public MustInherit Class DynamicTypeService
'Usage
Dim instance As DynamicTypeService
[GuidAttribute("FC43BF19-86FE-4255-901E-15C8D236F3A4")]
[CLSCompliantAttribute(false)]
public abstract class DynamicTypeService
[GuidAttribute(L"FC43BF19-86FE-4255-901E-15C8D236F3A4")]
[CLSCompliantAttribute(false)]
public ref class DynamicTypeService abstract
[<AbstractClassAttribute>]
[<GuidAttribute("FC43BF19-86FE-4255-901E-15C8D236F3A4")>]
[<CLSCompliantAttribute(false)>]
type DynamicTypeService =  class end
public abstract class DynamicTypeService

Remarks

This implementation of ITypeResolutionServiceProvider tracks project lifetimes and automatically shuts down a type resolution service when the project closes. Most designer objects rely on ITypeResolutionService. It is the responsibility of the individual designer loaders to add this service to the service container.

Type resolution in Visual Studio is based on resolving a type name to a reference. References can take several forms: references to files on disk (either directly or through the GAC), references to projects, or references to output generated by the compiler.

Inheritance Hierarchy

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

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 Members

Microsoft.VisualStudio.Shell.Design Namespace