Indicates that this content view model can be created through a media upload in the back office, optionally providing a custom upload handler.

[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class MediaUploadAttribute: IContentTypeAttribute
Inheritance:
ObjectAttributeMediaUploadAttribute
Implements:
IContentTypeAttribute

Constructors

MediaUploadAttribute()

Properties

MediaUploadHandlerType A handler type that will be called after content has been created through media upload to enable post processing. Must implement IFileUploadHandler.

Methods

Apply(ContentTypeDefinition)