Removed obsolete methods from Umbraco.Core which are not used

This commit is contained in:
Anthony
2018-07-01 18:58:58 +01:00
parent 2f7ddb20db
commit 43fdd691fe
13 changed files with 1 additions and 461 deletions

View File

@@ -88,15 +88,6 @@ namespace Umbraco.Core.Events
EventObject = moveInfo.First().Entity;
}
[Obsolete("Use the overload that specifies the MoveEventInfo object")]
public MoveEventArgs(TEntity eventObject, bool canCancel, int parentId)
: base(eventObject, canCancel)
{ }
[Obsolete("Use the overload that specifies the MoveEventInfo object")]
public MoveEventArgs(TEntity eventObject, int parentId)
: base(eventObject)
{ }
/// <summary>
/// Gets all MoveEventInfo objects used to create the object
@@ -119,15 +110,6 @@ namespace Umbraco.Core.Events
}
}
/// <summary>
/// The entity being moved
/// </summary>
[Obsolete("Retrieve the entity object from the MoveInfoCollection property instead")]
public TEntity Entity
{
get { return EventObject; }
}
public bool Equals(MoveEventArgs<TEntity> other)
{
if (other is null) return false;