共用方式為


ProvidesExtensionToDomainModelAttribute Class

Definition

Custom attribute used to indicate that a domain model is an extension of another domain model.

public ref class ProvidesExtensionToDomainModelAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class ProvidesExtensionToDomainModelAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ProvidesExtensionToDomainModelAttribute = class
    inherit Attribute
Public NotInheritable Class ProvidesExtensionToDomainModelAttribute
Inherits Attribute
Inheritance
ProvidesExtensionToDomainModelAttribute
Attributes

Remarks

Provides an alternative to using the standard MEF [ExportMetadata(...)] attribute

Constructors

ProvidesExtensionToDomainModelAttribute(String)

Constructor

ProvidesExtensionToDomainModelAttribute(Type)

Constructor

Properties

DomainModelId

The id (Guid) of the domain model type that is being extended

Applies to