Compartilhar via


DynamicTypeService Class

Definition

Important

This API is not CLS-compliant.

Provides instances of ITypeResolutionService for a project.

public ref class DynamicTypeService abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DynamicTypeService abstract
[Windows::Foundation::Metadata::WebHostHidden]
class DynamicTypeService abstract
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("FC43BF19-86FE-4255-901E-15C8D236F3A4")]
public abstract class DynamicTypeService
[System.Runtime.InteropServices.Guid("FC43BF19-86FE-4255-901E-15C8D236F3A4")]
public abstract class DynamicTypeService
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("FC43BF19-86FE-4255-901E-15C8D236F3A4")>]
type DynamicTypeService = class
[<System.Runtime.InteropServices.Guid("FC43BF19-86FE-4255-901E-15C8D236F3A4")>]
type DynamicTypeService = class
Public MustInherit Class DynamicTypeService
Inheritance
DynamicTypeService
Attributes

Constructors

DynamicTypeService()

Initializes a new instance of DynamicTypeService.

Methods

CreateDynamicAssembly(String)

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

GetContextTypeResolver(IVsHierarchy, UInt32)

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

GetContextTypeResolver(IVsHierarchy)

Gets a type resolver for the specified hierarchy node.

GetTypeDiscoveryService(IVsHierarchy, UInt32)

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

GetTypeDiscoveryService(IVsHierarchy)

Gets a type discovery service for the specified hierarchy node.

GetTypeResolutionService(IVsHierarchy, UInt32)

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

GetTypeResolutionService(IVsHierarchy)

Gets a type resolution service for a given hierarchy node.

IsDynamicAssembly(AssemblyName)

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

OnAssemblyDeleted(AssemblyDeletedEventArgs)

Raised when an assembly has been deleted.

OnAssemblyObsolete(AssemblyObsoleteEventArgs)

Raised when an assembly has been made obsolete.

OnAssemblyRefreshed(AssemblyRefreshedEventArgs)

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

OnTypeObsolete(TypeObsoleteEventArgs)

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

Events

AssemblyDeleted

Notifies clients when an assembly has been deleted.

AssemblyObsolete

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

AssemblyRefreshed

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

TypeObsolete

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

Applies to