File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed
src/Limbo.Umbraco.MediaPicker/Models Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,8 @@ public class FileItem : MediaItem {
26
26
/// <summary>
27
27
/// Initializes a new file item.
28
28
/// </summary>
29
- /// <param name="media">An instance of <see cref="IPublishedContent"/> representing the media.</param>.
30
- /// <param name="config">The ImagePicker config</param>
31
- public FileItem ( IPublishedContent media , LimboMediaPickerConfiguration config ) : base ( media ) {
29
+ /// <param name="media">An instance of <see cref="IPublishedContent"/> representing the media.</param>
30
+ public FileItem ( IPublishedContent media ) : base ( media ) {
32
31
Bytes = media . Value < int > ( Constants . Conventions . Media . Bytes ) ;
33
32
}
34
33
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ public class ImageItem : MediaItem {
44
44
/// <summary>
45
45
/// Initializes a new image item.
46
46
/// </summary>
47
- /// <param name="media">An instance of <see cref="IPublishedContent"/> representing the media.</param>.
48
- /// <param name="config">The ImagePicker config </param>
47
+ /// <param name="media">An instance of <see cref="IPublishedContent"/> representing the media.</param>
48
+ /// <param name="config">The media picker data type configuration. </param>
49
49
public ImageItem ( IPublishedContent media , LimboMediaPickerConfiguration config ) : base ( media ) {
50
50
51
51
int width = media . Value < int > ( Constants . Conventions . Media . Width ) ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public class ImageWithCropsItem : MediaWithCropsItem {
51
51
/// Initializes a nw instance based on the specified <paramref name="media"/> and <paramref name="config"/>.
52
52
/// </summary>
53
53
/// <param name="media">The <see cref="MediaWithCrops"/> instance to wrap.</param>
54
- /// <param name="config">The ImagePicker config </param>
54
+ /// <param name="config">The media picker data type configuration. </param>
55
55
public ImageWithCropsItem ( MediaWithCrops media , LimboMediaPickerConfiguration config ) : base ( media ) {
56
56
57
57
int width = media . Value < int > ( Constants . Conventions . Media . Width ) ;
Original file line number Diff line number Diff line change 1
1
using MessagePack ;
2
- using Newtonsoft . Json . Linq ;
3
2
using Umbraco . Cms . Core . Models ;
4
3
using Umbraco . Cms . Core . PropertyEditors ;
5
4
You can’t perform that action at this time.
0 commit comments