Ports v7 changes for U4-5728 - OriginalRequestUrl not initialized, KeepAlive or ScheduledPublishing run too soon

#U4-5728
This commit is contained in:
Sebastiaan Janssen
2014-12-07 16:16:29 +01:00
parent 71ca90d74b
commit 4eb9a54fa5
10 changed files with 596 additions and 145 deletions

View File

@@ -0,0 +1,22 @@
using System;
namespace Umbraco.Web.Scheduling
{
internal class TaskEventArgs<T> : EventArgs
where T : IBackgroundTask
{
public T Task { get; private set; }
public Exception Exception { get; private set; }
public TaskEventArgs(T task)
{
Task = task;
}
public TaskEventArgs(T task, Exception exception)
{
Task = task;
Exception = exception;
}
}
}