MediaUploadAttribute Class

MediaUploadAttribute Class

Indicates that this content view model can be created through a media upload in the back office.

[AttributeUsage(AttributeTargets.Class)]
public sealed class MediaUploadAttribute: Attribute, IContentModelAttribute

Inheritance  Attribute MediaUploadAttribute

Implements  IContentModelAttribute

Properties

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

Methods

Name Description
Apply(ContentDefinition)