Gets the variant names working in the editor

This commit is contained in:
Shannon
2018-04-20 00:59:23 +10:00
parent d4252a3dc8
commit c84087e96b
8 changed files with 59 additions and 29 deletions

View File

@@ -10,6 +10,9 @@ using Language = Umbraco.Web.Models.ContentEditing.Language;
namespace Umbraco.Web.Models.Mapping
{
/// <summary>
/// Used to map the <see cref="ContentItemDisplay"/> variations collection from an <see cref="IContent"/> instance
/// </summary>
internal class ContentItemDisplayVariationResolver : IValueResolver<IContent, ContentItemDisplay, IEnumerable<ContentVariation>>
{
private readonly ILocalizationService _localizationService;