Microsoft.VisualStudio.ExtensibilityHosting Namespace

Classes

DefaultScopeCreator

Creates scopes from a catalog based on exports in catalog which have scope definition metadata.

Scoping policy description: 1. Find exports with scope definition contract and parent scope contract name and scope contract name metadata. 2. Create scopes containing parts dependent on the scope contract (transitive). 3. Parent those scopes to the scope defined by the parent scope contract name. 4. Remove any parts in child scopes from parent scopes.

DeterministicLifetimeMarshalByRefObject

MarshalByRefObject wrapper that ensures lifetime is managed by owner of object.

InvalidMEFCacheException
ScopeDefinitionAttribute

Export attribute for definining scope definitions in VS MEF catalog.

VsCatalogNameAttribute

The attribute is to be placed on an assembly to associate it with one or more Component Model catalogs.

VsCatalogProvider

Provides access to named MEF catalogs. The catalogs are referred by name that usually follows the namespace naming convention, for example "Microsoft.VisualStudio.TextEditor". The catalogs are automatically cached. In the case of any error related to cache files management the class falls back to no-cache mode.

The class is thread safe.

VsComponentModelHostBase

The class represents a Component Model Host that abstracts details of different Component Model hosting environments.

VsCompositionContainer
VsExportProviderFactory

A factory responsible for creating/getting the MEF Microsoft.VisualStudio.Composition.IExportProviderFactory for use in Visual Studio.

VsExportProviderService
VsExportProviderSettings
VsExportProvisionOuterScope
VsExportProvisionScope
VsExportProvisionScopeFactory

This factory produces scope identifiers for

Structs

AssemblyMetadata

Metadata about a Assembly that is used to determine if two assemblies are equivalent.

CatalogAndMetadata

A utility structure to help with serializing and deserilizing an individual VS MEF ComposableCatalog and its metadata.

ReportingData

Data used in a report.

Interfaces

ICompositionScopeCreator

Creates a scoped representation of a given catalog.

IScopeDefinition

Metadata interface for scope definitions.

Enums

CacheState

Denotes the current state of the catalogs cache for telemetry purposes.

VsComponentModelHostBaseIssueType
VsContainerHostingPolicy
VsExportProvidingPreference
VsExportSharingPolicy

Delegates

ProvisionFaultHandler