Renamed SendingDashboardModelV2 to SendingDashboardSlimModel
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user