Search Results for

    Show / Hide Table of Contents
    View Source

    Class MoveEventInfo<TEntity>

    Inheritance
    object
    MoveEventInfoBase<TEntity>
    Namespace: Umbraco.Cms.Core.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public class MoveEventInfo<TEntity> : MoveEventInfoBase<TEntity>
    Type Parameters
    Name Description
    TEntity

    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
    Type Description
    int
    View Source

    NewParentKey

    Declaration
    public Guid? NewParentKey { get; }
    Property Value
    Type Description
    Guid?

    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
    Type Name Description
    MoveEventInfo<TEntity> other
    Returns
    Type Description
    bool
    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
    Type Name Description
    MoveEventInfo<TEntity> left
    MoveEventInfo<TEntity> right
    Returns
    Type Description
    bool
    View Source

    operator !=(MoveEventInfo<TEntity>, MoveEventInfo<TEntity>)

    Declaration
    public static bool operator !=(MoveEventInfo<TEntity> left, MoveEventInfo<TEntity> right)
    Parameters
    Type Name Description
    MoveEventInfo<TEntity> left
    MoveEventInfo<TEntity> right
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX