Share via


ExportWorkspaceServiceAttribute Class

Definition

Use this attribute to declare a IWorkspaceService implementation for inclusion in a MEF-based workspace.

public ref class ExportWorkspaceServiceAttribute : System::Composition::ExportAttribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Composition.MetadataAttribute]
public class ExportWorkspaceServiceAttribute : System.Composition.ExportAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Composition.MetadataAttribute>]
type ExportWorkspaceServiceAttribute = class
    inherit ExportAttribute
Public Class ExportWorkspaceServiceAttribute
Inherits ExportAttribute
Inheritance
ExportWorkspaceServiceAttribute
Attributes

Constructors

ExportWorkspaceServiceAttribute(Type, String)

Declares a IWorkspaceService implementation for inclusion in a MEF-based workspace.

Properties

Layer

The layer that the service is specified for; ServiceLayer.Default, etc.

ServiceType

The assembly qualified name of the service's type.

Applies to