View Source
Class MoveEventInfo<TEntity>
Assembly: Umbraco.Core.dll
Syntax
public class MoveEventInfo<TEntity> : MoveEventInfoBase<TEntity>
Type Parameters
Constructors
View Source
MoveEventInfo(TEntity, string, int)
Declaration
public MoveEventInfo(TEntity entity, string originalPath, int newParentId)
Parameters
| Type |
Name |
Description |
| TEntity |
entity |
|
| string |
originalPath |
|
| int |
newParentId |
|
View Source
MoveEventInfo(TEntity, string, int, Guid?)
Declaration
public MoveEventInfo(TEntity entity, string originalPath, int newParentId, Guid? newParentKey)
Parameters
| Type |
Name |
Description |
| TEntity |
entity |
|
| string |
originalPath |
|
| int |
newParentId |
|
| Guid? |
newParentKey |
|
Properties
View Source
NewParentId
Declaration
[Obsolete("Please use NewParentKey instead, scheduled for removal in V15")]
public int NewParentId { get; set; }
Property Value
View Source
NewParentKey
Declaration
public Guid? NewParentKey { get; }
Property Value
Methods
View Source
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current object.
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
View Source
Equals(MoveEventInfo<TEntity>?)
Declaration
public bool Equals(MoveEventInfo<TEntity>? other)
Parameters
Returns
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Operators
View Source
operator ==(MoveEventInfo<TEntity>, MoveEventInfo<TEntity>)
Declaration
public static bool operator ==(MoveEventInfo<TEntity> left, MoveEventInfo<TEntity> right)
Parameters
Returns
View Source
operator !=(MoveEventInfo<TEntity>, MoveEventInfo<TEntity>)
Declaration
public static bool operator !=(MoveEventInfo<TEntity> left, MoveEventInfo<TEntity> right)
Parameters
Returns