DynamicTypeService Class

 

Provides instances of ITypeResolutionService for a project.

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

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

[CLSCompliantAttribute(false)]
[GuidAttribute("FC43BF19-86FE-4255-901E-15C8D236F3A4")]
public abstract class DynamicTypeService

NameDescription
System_CAPS_protmethodDynamicTypeService()

Initializes a new instance of DynamicTypeService.

NameDescription
System_CAPS_pubmethodCreateDynamicAssembly(String)

This method creates a new assembly whose contents are the given assembly file.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetContextTypeResolver(IVsHierarchy)

Gets a type resolver for the specified hierarchy node.

System_CAPS_pubmethodGetContextTypeResolver(IVsHierarchy, UInt32)

Gets a type resolver for the specified hierarchy node and item ID.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetTypeDiscoveryService(IVsHierarchy)

Gets a type discovery service for the specified hierarchy node.

System_CAPS_pubmethodGetTypeDiscoveryService(IVsHierarchy, UInt32)

Gets a type discovery service for the specified hierarchy node and item ID.

System_CAPS_pubmethodGetTypeResolutionService(IVsHierarchy)

Gets a type resolution service for a given hierarchy node.

System_CAPS_pubmethodGetTypeResolutionService(IVsHierarchy, UInt32)

Gets a type resolution service for a given hierarchy node and item ID.

System_CAPS_pubmethodIsDynamicAssembly(AssemblyName)

Determines whether or not the specified assembly has been dynamically created.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOnAssemblyDeleted(AssemblyDeletedEventArgs)

Raised when an assembly has been deleted.

System_CAPS_pubmethodOnAssemblyObsolete(AssemblyObsoleteEventArgs)

Raised when an assembly has been made obsolete.

System_CAPS_pubmethodOnAssemblyRefreshed(AssemblyRefreshedEventArgs)

Raised when an assembly has been refreshed, for example when it has been rebuilt and the name or configuration has changed.

System_CAPS_pubmethodOnTypeObsolete(TypeObsoleteEventArgs)

Raised when a type has been made obsolete, that is, when it no longer resolves.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventAssemblyDeleted

Notifies clients when an assembly has been deleted.

System_CAPS_pubeventAssemblyObsolete

Notifies clients when an assembly has been made obsolete, that is, when it no longer resolves.

System_CAPS_pubeventAssemblyRefreshed

Notifies clients when an assembly has been refreshed, for example when it has been rebuilt and the name or configuration has changed.

System_CAPS_pubeventTypeObsolete

Notifies clients when a type has been made obsolete, that is, when it no longer resolves.

This implementation of T:Microsoft.VisualStudio.Designer.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.

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: