DomainModelSerializerAttribute Class

Definition

Custom attribute used to indicate that a class is a domain model serializer, and the type of domain model it serializes.

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

Remarks

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

Constructors

DomainModelSerializerAttribute(String, String, String)

Constructor

DomainModelSerializerAttribute(Type, String, String)

Constructor

Properties

DomainModelId

The id (Guid) of the domain model type that can be serialized

DomainModelNamespace

The XML namespace to use when serializing the model

ModelFileExtension

The file extension used when serializing the model

Applies to