Adds EventState to the event args instead of trying to change the AdditionalData which is a breaking change. Updates FileService and ContentService to use one event arg insteance for both before/after events so that the EventState flows and so we are allocating less objects.

This commit is contained in:
Shannon
2017-08-24 16:22:50 +10:00
parent 1e45f85f7c
commit 085c06e043
6 changed files with 158 additions and 80 deletions

View File

@@ -271,6 +271,7 @@ namespace Umbraco.Web.Routing
private static void ContentService_Moving(IContentService sender, MoveEventArgs<IContent> e)
{
//TODO: Use the new e.EventState to track state between Moving/Moved events!
Moving = true;
}