You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -15,7 +16,16 @@ public class MediaWithCrops : PublishedContentWrapped
15
16
/// <value>
16
17
/// The media item.
17
18
/// </value>
18
-
publicIPublishedContentMediaItem=>Unwrap();
19
+
[Obsolete("This instance now implements IPublishedContent by wrapping the media item, use the extension methods directly on MediaWithCrops or use the Content property to get the media item instead.")]
20
+
publicIPublishedContentMediaItem=>Content;
21
+
22
+
/// <summary>
23
+
/// Gets the content/media item.
24
+
/// </summary>
25
+
/// <value>
26
+
/// The content/media item.
27
+
/// </value>
28
+
publicIPublishedContentContent=>Unwrap();
19
29
20
30
/// <summary>
21
31
/// Gets the local crops.
@@ -51,7 +61,7 @@ public class MediaWithCrops<T> : MediaWithCrops
51
61
/// <value>
52
62
/// The media item.
53
63
/// </value>
54
-
publicnewTMediaItem{get;}
64
+
publicnewTContent{get;}
55
65
56
66
/// <summary>
57
67
/// Initializes a new instance of the <see cref="MediaWithCrops{T}" /> class.
@@ -61,7 +71,7 @@ public class MediaWithCrops<T> : MediaWithCrops
0 commit comments