diff --git a/src/Umbraco.Core/Services/ContentService.cs b/src/Umbraco.Core/Services/ContentService.cs index 5e3d17c75d..c0661ac272 100644 --- a/src/Umbraco.Core/Services/ContentService.cs +++ b/src/Umbraco.Core/Services/ContentService.cs @@ -1186,7 +1186,7 @@ namespace Umbraco.Core.Services /// /// Sorts a collection of objects by updating the SortOrder according - /// to the ordering of items in the passed in . + /// to the ordering of items in the passed in . /// /// /// Using this method will ensure that the Published-state is maintained upon sorting @@ -1196,7 +1196,7 @@ namespace Umbraco.Core.Services /// /// /// True if sorting succeeded, otherwise False - public bool Sort(SortedSet items, int userId = 0, bool raiseEvents = true) + public bool Sort(IEnumerable items, int userId = 0, bool raiseEvents = true) { if (raiseEvents) { diff --git a/src/Umbraco.Core/Services/IContentService.cs b/src/Umbraco.Core/Services/IContentService.cs index 193fc5ff85..6525a9d825 100644 --- a/src/Umbraco.Core/Services/IContentService.cs +++ b/src/Umbraco.Core/Services/IContentService.cs @@ -312,7 +312,7 @@ namespace Umbraco.Core.Services /// An Enumerable list of objects IEnumerable GetAncestors(IContent content); /// Sorts a collection of objects by updating the SortOrder according - /// to the ordering of items in the passed in . + /// to the ordering of items in the passed in . /// /// /// Using this method will ensure that the Published-state is maintained upon sorting @@ -322,7 +322,7 @@ namespace Umbraco.Core.Services /// /// /// True if sorting succeeded, otherwise False - bool Sort(SortedSet items, int userId = 0, bool raiseEvents = true); + bool Sort(IEnumerable items, int userId = 0, bool raiseEvents = true); /// /// Gets the parent of the current content as an item. diff --git a/src/Umbraco.Core/Services/IMediaService.cs b/src/Umbraco.Core/Services/IMediaService.cs index eb3ec8b73f..c8b9db6967 100644 --- a/src/Umbraco.Core/Services/IMediaService.cs +++ b/src/Umbraco.Core/Services/IMediaService.cs @@ -232,13 +232,13 @@ namespace Umbraco.Core.Services /// /// Sorts a collection of objects by updating the SortOrder according - /// to the ordering of items in the passed in . + /// to the ordering of items in the passed in . /// /// /// /// /// True if sorting succeeded, otherwise False - bool Sort(SortedSet items, int userId = 0, bool raiseEvents = true); + bool Sort(IEnumerable items, int userId = 0, bool raiseEvents = true); /// /// Creates an object using the alias of the diff --git a/src/Umbraco.Core/Services/MediaService.cs b/src/Umbraco.Core/Services/MediaService.cs index 292cb2ca8f..7a09e24b32 100644 --- a/src/Umbraco.Core/Services/MediaService.cs +++ b/src/Umbraco.Core/Services/MediaService.cs @@ -764,13 +764,13 @@ namespace Umbraco.Core.Services /// /// Sorts a collection of objects by updating the SortOrder according - /// to the ordering of items in the passed in . + /// to the ordering of items in the passed in . /// /// /// /// /// True if sorting succeeded, otherwise False - public bool Sort(SortedSet items, int userId = 0, bool raiseEvents = true) + public bool Sort(IEnumerable items, int userId = 0, bool raiseEvents = true) { if (raiseEvents) {