A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Models.MediaType.html below:

View Source

Represents the content type that a Media object is based on

Inheritance

System.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.

Declaration
public MediaType(IShortStringHelper shortStringHelper, int parentId)
Parameters View Source MediaType(IShortStringHelper, IMediaType)

Constuctor for creating a MediaType with the parent as an inherited type.

Declaration
public MediaType(IShortStringHelper shortStringHelper, IMediaType parent)
Parameters View Source MediaType(IShortStringHelper, IMediaType, String)

Constuctor for creating a MediaType with the parent as an inherited type.

Declaration
public 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

Declaration
public override string Alias { get; set; }
Property Value Type Description System.String View Source SupportsPublishing

Gets a value indicating whether the content type supports publishing.

Declaration
public override bool SupportsPublishing { get; }
Property Value Type Description System.Boolean Methods View Source ToSimple()

Gets an ISimpleContentType corresponding to this content type.

Declaration
public 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

Declaration
IMediaType 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