Represents a media item with local crops.
InheritanceSystem.Object
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Infrastructure.dll Syntaxpublic 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.
Declarationpublic MediaWithCrops(T content, IPublishedValueFallback publishedValueFallback, ImageCropperValue localCrops)
Parameters Properties View Source Content
Gets the media item.
Declarationpublic 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
.
public static implicit operator T(MediaWithCrops<T> mediaWithCrops)
Parameters Type Name Description MediaWithCrops<T> mediaWithCrops
The media with crops.
Returns Type Description TThe 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