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
-
objectAttributeRegisterContentTypeMappingAttribute
- Extension Methods
Constructors
RegisterContentTypeMappingAttribute(string)
Initializes a new instance of the RegisterContentTypeMappingAttribute class.
public RegisterContentTypeMappingAttribute(string contentTypeName)
Parameters
contentTypeNamestringThe 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