Freigeben über


Microsoft.VisualStudio.Extensibility Namespace

Classes

ActivationConstraint

Describes a context-based activation rule.

BrokeredServiceConfiguration

The configuration of a brokered service implementation.

ClientContext

Provides functionality for accessing client context JSON blob in a structured method.

ClientContextKey.Shell

Shell client context keys.

CompileTimeEvaluationAttribute

An attribute used to mark that a property is evaluated at compile time and represents the configuration of an IVisualStudioContributionClass. Alternatively it is used on types that implement IVisualStudioContributionProperty and are used to define static properties marked with VisualStudioContributionAttribute, which are also evaluated at compile time. This is used by the VisualStudio.Extensibility libraries for documentation purposes and it's not meant to be used directly by extenders.

ConfigurationExtensibility

Provides the surface area for configuration and extension state management.

DefaultJsonServiceFactory

Constructs services registered in an extension based on the descriptors in metadata. This default factory uses either the service moniker name as the type name, or type information from ServiceFactoryRegistrationAttribute attribute and creates an instance using dependency injection (TBD) and uses JSON serialization.

DefaultMessagePackServiceFactory

Constructs services registered in an extension based on the descriptors in metadata. This default factory uses either the service moniker name as the type name, or type information from ServiceFactoryRegistrationAttribute attribute and creates an instance using dependency injection and uses MessagePack serialization.

DiagnosticsExtensionMethods

Provides functionality for extending Visual Studio through brokered services for Language Services.

DocumentExtensions

Extension methods for DocumentSnapshot objects.

DocumentFilter

Describes an applicability condition based on the type or path of a document.

DocumentsExtensibility

Provides the surface area for document management.

ExperimentalFeatures

VisualStudio.Extensibility experimental features diagnostic codes.

ExtensibilityPoint

Provides functionality for extending Visual Studio through brokered services.

ExtensibilityPoints

Helper extension methods.

Extension

Base class for an extension that can host multiple service instances.

ExtensionConfiguration

The configuration of an Extension class.

ExtensionContractAttribute

Contains additional information about an extension part contract, specifically around wrapping type.

ExtensionCore

Base class for an extension that can host multiple service instances. This class is intended for internal use only, extension developers should instead inherit from Microsoft.VisualStudio.Extensibility.Extension.

ExtensionMetadata

Descriptive information about the extension.

ExtensionMethods

Extension methods for IClientContext.

ExtensionPart

Base class for services or parts to be returned from service factories.

ExtensionPartAttribute

An attribute used to mark an interface or a class extending ExtensionPart.

ExtensionPartServiceFactory

A base service factory class for extension parts that allow customization of the service descriptor.

ImageMoniker.KnownValues

Well-known ImageMoniker values for images supplied with the Visual Studio image catalog.

ServiceFactoryRegistrationAttribute

Describes a mapping from service moniker to internal service factory type and extension part instance type.

ServiceHubServiceMoniker

A record for a brokered service moniker.

SettingsExtensibility

Provides the surface area for settings.

SnapshotVersionNotAvailableException

An exception that indicates snapshot version is not available to operate on.

VisualStudioContributionAttribute

An attribute used to contribute VisualStudio.Extensibility components from the extension and allow Visual Studio to consume them. This attribute can be applied to types that extend an abstract class which implements IVisualStudioContributionClass or on properties of a type that implements IVisualStudioContributionProperty.

VisualStudioExtensibility

Provides functionality for extending Visual Studio through brokered services.

VisualStudioExtensibilityExtensions

Editor provided extension methods for acquiring VS extensibility points.

WorkspacesExtensibility

Provides functionality for extending Visual Studio workspaces.

WorkspacesExtensionMethods

Container for client context at the time of a command invocation.

Structs

ClientContextCategory

Client context categories to be used in ClientContexts.

ClientContextKey

Client context keys to be used in ClientContext(ClientContextKey, String).

ImageMoniker

Image monikers for images supplied by the extension or by the Visual Studio image catalog.

ProjectCapability

Project capability to be used in SolutionHasProjectCapability(ProjectCapability).

Interfaces

IClientContext

Container for client context at the time of a command invocation.

IClientContextPrivate

Container for client context at the time of a command invocation.

IServiceFactory

Constructs services registered in an extension based on the descriptors in metadata.

IVisualStudioContributionClass

Extenders can extend types implementing IVisualStudioContributionClass and mark their class with VisualStudioContributionAttribute to allow it to be consumed by Visual Studio. This interface is meant to be implemented by abstract classes provided by the VisualStudio.Extensibility libraries, extenders shouldn't implement this interface directly.

IVisualStudioContributionProperty

Types implementing IVisualStudioContributionProperty can be used to create static properties marked with VisualStudioContributionAttribute which allows them to define metadata for the extension that is consumed by Visual Studio. This interface is meant to be implemented by types provided by the VisualStudio.Extensibility libraries, extenders shouldn't implement this interace directly.

Enums

BrokeredServiceAudience

The intended audience for a brokered service registered via BrokeredServiceConfiguration.

SolutionState

Solution state values to be used in SolutionState(SolutionState).

VisualStudioArchitecture

Architectures supported by Visual Studio.

Delegates

ExtensionCore.ProfferedServiceFactory

A delegate that creates new instances of a brokered service that is proffered via ProfferService.