Class MoveEventInfoBase<TEntity>
Inheritance
object
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
public abstract class MoveEventInfoBase<TEntity>
Type Parameters
| Name | Description |
|---|---|
| TEntity |
Constructors
View SourceMoveEventInfoBase(TEntity, string)
Declaration
public MoveEventInfoBase(TEntity entity, string originalPath)
Parameters
| Type | Name | Description |
|---|---|---|
| TEntity | entity | |
| string | originalPath |
Properties
View SourceEntity
Declaration
public TEntity Entity { get; set; }
Property Value
| Type | Description |
|---|---|
| TEntity |
OriginalPath
Declaration
public string OriginalPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceEquals(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. |
Equals(MoveEventInfoBase<TEntity>?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(MoveEventInfoBase<TEntity>? other)
Parameters
| Type | Name | Description |
|---|---|---|
| MoveEventInfoBase<TEntity> | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |