diff --git a/src/Umbraco.Core/Persistence/Repositories/IMacroWithAliasRepository.cs b/src/Umbraco.Core/Persistence/Repositories/IMacroWithAliasRepository.cs index 86fe5b49e0..f6cd27ad60 100644 --- a/src/Umbraco.Core/Persistence/Repositories/IMacroWithAliasRepository.cs +++ b/src/Umbraco.Core/Persistence/Repositories/IMacroWithAliasRepository.cs @@ -8,6 +8,7 @@ namespace Umbraco.Cms.Core.Persistence.Repositories public interface IMacroWithAliasRepository : IMacroRepository { IMacro GetByAlias(string alias); + IEnumerable GetAllByAlias(string[] aliases); } } diff --git a/src/Umbraco.Core/Services/IMacroService.cs b/src/Umbraco.Core/Services/IMacroService.cs index c4bc34997f..e1eb97ac00 100644 --- a/src/Umbraco.Core/Services/IMacroService.cs +++ b/src/Umbraco.Core/Services/IMacroService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Umbraco.Cms.Core.Models; @@ -17,13 +17,6 @@ namespace Umbraco.Cms.Core.Services /// An object IMacro GetByAlias(string alias); - ///// - ///// Gets a list all available objects - ///// - ///// Optional array of aliases to limit the results - ///// An enumerable list of objects - //IEnumerable GetAll(params string[] aliases); - IEnumerable GetAll(); IEnumerable GetAll(params int[] ids); diff --git a/src/Umbraco.Core/Services/IMacroWithAliasService.cs b/src/Umbraco.Core/Services/IMacroWithAliasService.cs index b34bada27d..6e72777bfa 100644 --- a/src/Umbraco.Core/Services/IMacroWithAliasService.cs +++ b/src/Umbraco.Core/Services/IMacroWithAliasService.cs @@ -10,8 +10,8 @@ namespace Umbraco.Cms.Core.Services /// /// Gets a list of available objects by alias. /// - /// - /// + /// Optional array of aliases to limit the results + /// An enumerable list of objects IEnumerable GetAll(params string[] aliases); } } diff --git a/src/Umbraco.Infrastructure/Templates/IHtmlMacroParameterParser.cs b/src/Umbraco.Infrastructure/Templates/IHtmlMacroParameterParser.cs index c0abb5d2b3..6e484cc30a 100644 --- a/src/Umbraco.Infrastructure/Templates/IHtmlMacroParameterParser.cs +++ b/src/Umbraco.Infrastructure/Templates/IHtmlMacroParameterParser.cs @@ -7,7 +7,6 @@ namespace Umbraco.Cms.Infrastructure.Templates /// /// Provides methods to parse referenced entities as Macro parameters. /// - public interface IHtmlMacroParameterParser { ///