Merge with 6.0.6

This commit is contained in:
Morten Christensen
2013-05-29 13:18:40 -02:00
4 changed files with 8 additions and 8 deletions

View File

@@ -232,13 +232,13 @@ namespace Umbraco.Core.Services
/// <summary>
/// Sorts a collection of <see cref="IMedia"/> objects by updating the SortOrder according
/// to the ordering of items in the passed in <see cref="SortedSet{T}"/>.
/// to the ordering of items in the passed in <see cref="IEnumerable{T}"/>.
/// </summary>
/// <param name="items"></param>
/// <param name="userId"></param>
/// <param name="raiseEvents"></param>
/// <returns>True if sorting succeeded, otherwise False</returns>
bool Sort(SortedSet<IMedia> items, int userId = 0, bool raiseEvents = true);
bool Sort(IEnumerable<IMedia> items, int userId = 0, bool raiseEvents = true);
/// <summary>
/// Creates an <see cref="IMedia"/> object using the alias of the <see cref="IMediaType"/>