Adding event handlers to the PackagingService

This commit is contained in:
Morten Christensen
2014-01-08 14:12:39 +01:00
parent 3c965e8c32
commit d0c0ec56a4
3 changed files with 173 additions and 18 deletions

View File

@@ -671,7 +671,7 @@ namespace Umbraco.Core.Models
/// <returns>Xml representation of the passed in <see cref="IContent"/></returns>
public static XElement ToXml(this IMember member)
{
return ApplicationContext.Current.Services.PackagingService.Export(member);
return ((PackagingService)(ApplicationContext.Current.Services.PackagingService)).Export(member);
}
#endregion