Renamed SendingDashboardModelV2 to SendingDashboardSlimModel

This commit is contained in:
Bjarke Berg
2019-03-20 07:35:00 +01:00
parent bb23fbbf8d
commit 64bc0cf973

View File

@@ -18,14 +18,14 @@ namespace Umbraco.Web.Editors
public static event TypedEventHandler<HttpActionExecutedContext, EditorModelEventArgs<MemberDisplay>> SendingMemberModel;
public static event TypedEventHandler<HttpActionExecutedContext, EditorModelEventArgs<UserDisplay>> SendingUserModel;
[Obsolete("Please Use SendingDashboardModelV2")]
[Obsolete("Please Use SendingDashboardSlimModel")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static event TypedEventHandler<HttpActionExecutedContext, EditorModelEventArgs<IEnumerable<Tab<IDashboard>>>> SendingDashboardModel;
public static event TypedEventHandler<HttpActionExecutedContext, EditorModelEventArgs<IEnumerable<Tab<IDashboardSlim>>>> SendingDashboardModelV2;
public static event TypedEventHandler<HttpActionExecutedContext, EditorModelEventArgs<IEnumerable<Tab<IDashboardSlim>>>> SendingDashboardSlimModel;
private static void OnSendingDashboardModel(HttpActionExecutedContext sender, EditorModelEventArgs<IEnumerable<Tab<IDashboardSlim>>> e)
{
var handler = SendingDashboardModelV2;
var handler = SendingDashboardSlimModel;
handler?.Invoke(sender, e);
}