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.MediaWithCrops-1.html below:

View Source

Represents a media item with local crops.

Inheritance

System.Object

Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Infrastructure.dll Syntax
public class MediaWithCrops<T> : MediaWithCrops, IPublishedContent, IPublishedElement where T : IPublishedContent
Type Parameters Name Description T

The type of the media item.

Constructors View Source MediaWithCrops(T, IPublishedValueFallback, ImageCropperValue)

Initializes a new instance of the MediaWithCrops<T> class.

Declaration
public MediaWithCrops(T content, IPublishedValueFallback publishedValueFallback, ImageCropperValue localCrops)
Parameters Properties View Source Content

Gets the media item.

Declaration
public T Content { get; }
Property Value Type Description T

The media item.

Operators View Source Implicit(MediaWithCrops<T> to T)

Performs an implicit conversion from MediaWithCrops<T> to T.

Declaration
public static implicit operator T(MediaWithCrops<T> mediaWithCrops)
Parameters Type Name Description MediaWithCrops<T> mediaWithCrops

The media with crops.

Returns Type Description T

The result of the conversion.


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