Share via


ExportWorkspaceServiceFactoryAttribute Class

Definition

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

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

Constructors

ExportWorkspaceServiceFactoryAttribute(Type, String)

Declares a IWorkspaceServiceFactory 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