Table of Contents

Class RegisterContentTypeMappingAttribute

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Annotates class that will be instantiated while mapping the supplied content type.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class RegisterContentTypeMappingAttribute : Attribute
Inheritance
object
Attribute
RegisterContentTypeMappingAttribute
Extension Methods

Constructors

RegisterContentTypeMappingAttribute(string)

Initializes a new instance of the RegisterContentTypeMappingAttribute class.

public RegisterContentTypeMappingAttribute(string contentTypeName)

Parameters

contentTypeName string

The name of the content type associated with the class.

Properties

ContentTypeName

Name of the content type associated with the class.

public string ContentTypeName { get; }

Property Value

string