Partager 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

Remarks

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

Constructors

ExportWorkspaceServiceFactoryAttribute(Type, String)

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

Properties

Layer

The layer that the service is specified for. Specify a value from ServiceLayer.

ServiceType

The assembly qualified name of the service's type.

Applies to