diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-11-30 14:01:33 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-11-30 14:01:33 -0500 |
| commit | d7bdb744ca9d4b3955071dfe3c38ed631dbafbfd (patch) | |
| tree | ce244a359a57e7e53808e4f524b9e552cd67419a /MediaBrowser.Controller/Dto | |
| parent | f9ba260a19e12aff6562733023566943afb8cdd5 (diff) | |
add new image params
Diffstat (limited to 'MediaBrowser.Controller/Dto')
| -rw-r--r-- | MediaBrowser.Controller/Dto/IDtoService.cs | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/Dto/IDtoService.cs b/MediaBrowser.Controller/Dto/IDtoService.cs index 61b2caec0..7c7ec56d5 100644 --- a/MediaBrowser.Controller/Dto/IDtoService.cs +++ b/MediaBrowser.Controller/Dto/IDtoService.cs @@ -22,7 +22,8 @@ namespace MediaBrowser.Controller.Dto /// </summary> /// <param name="dto">The dto.</param> /// <param name="item">The item.</param> - void AttachPrimaryImageAspectRatio(IItemDto dto, IHasImages item); + /// <param name="fields">The fields.</param> + void AttachPrimaryImageAspectRatio(IItemDto dto, IHasImages item, List<ItemFields> fields); /// <summary> /// Gets the base item dto. @@ -35,6 +36,16 @@ namespace MediaBrowser.Controller.Dto BaseItemDto GetBaseItemDto(BaseItem item, List<ItemFields> fields, User user = null, BaseItem owner = null); /// <summary> + /// Gets the base item dto. + /// </summary> + /// <param name="item">The item.</param> + /// <param name="options">The options.</param> + /// <param name="user">The user.</param> + /// <param name="owner">The owner.</param> + /// <returns>BaseItemDto.</returns> + BaseItemDto GetBaseItemDto(BaseItem item, DtoOptions options, User user = null, BaseItem owner = null); + + /// <summary> /// Gets the chapter information dto. /// </summary> /// <param name="item">The item.</param> @@ -51,12 +62,13 @@ namespace MediaBrowser.Controller.Dto /// <summary> /// Gets the item by name dto. /// </summary> + /// <typeparam name="T"></typeparam> /// <param name="item">The item.</param> - /// <param name="fields">The fields.</param> + /// <param name="options">The options.</param> /// <param name="taggedItems">The tagged items.</param> /// <param name="user">The user.</param> /// <returns>BaseItemDto.</returns> - BaseItemDto GetItemByNameDto<T>(T item, List<ItemFields> fields, List<BaseItem> taggedItems, User user = null) + BaseItemDto GetItemByNameDto<T>(T item, DtoOptions options, List<BaseItem> taggedItems, User user = null) where T : BaseItem, IItemByName; } } |
