Represents the content type that a Media object is based on
InheritanceSystem.Object
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntax[DataContract(IsReference = true)]
public class MediaType : ContentTypeCompositionBase, IMediaType, IContentTypeComposition, IContentTypeBase, IUmbracoEntity, ITreeEntity, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors View Source MediaType(IShortStringHelper, Int32)
Constuctor for creating a MediaType with the parent's id.
Declarationpublic MediaType(IShortStringHelper shortStringHelper, int parentId)
Parameters View Source MediaType(IShortStringHelper, IMediaType)
Constuctor for creating a MediaType with the parent as an inherited type.
Declarationpublic MediaType(IShortStringHelper shortStringHelper, IMediaType parent)
Parameters View Source MediaType(IShortStringHelper, IMediaType, String)
Constuctor for creating a MediaType with the parent as an inherited type.
Declarationpublic MediaType(IShortStringHelper shortStringHelper, IMediaType parent, string alias)
Parameters Fields View Source SupportsPublishingConst Declaration
public const bool SupportsPublishingConst = false
Field Value Type Description System.Boolean Properties View Source Alias
The Alias of the ContentType
Declarationpublic override string Alias { get; set; }
Property Value Type Description System.String View Source SupportsPublishing
Gets a value indicating whether the content type supports publishing.
Declarationpublic override bool SupportsPublishing { get; }
Property Value Type Description System.Boolean Methods View Source ToSimple()
Gets an ISimpleContentType corresponding to this content type.
Declarationpublic override ISimpleContentType ToSimple()
Returns Explicit Interface Implementations View Source IMediaType.DeepCloneWithResetIdentities(String)
Creates a deep clone of the current entity with its identity/alias and it's property identities reset
DeclarationIMediaType IMediaType.DeepCloneWithResetIdentities(string newAlias)
Parameters Type Name Description System.String newAlias Returns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4