Search Results for

    Show / Hide Table of Contents
    View Source

    Class MoveEventArgs<TEntity>

    Represents event data for move operations.

    Inheritance
    object
    EventArgs
    CancellableEventArgs
    CancellableObjectEventArgs
    CancellableObjectEventArgs<TEntity>
    Namespace: Umbraco.Cms.Core.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public class MoveEventArgs<TEntity> : CancellableObjectEventArgs<TEntity>
    Type Parameters
    Name Description
    TEntity

    The type of the entity being moved.

    Constructors

    View Source

    MoveEventArgs(bool, EventMessages, params MoveEventInfo<TEntity>[])

    Constructor accepting a collection of MoveEventInfo objects

    Declaration
    public MoveEventArgs(bool canCancel, EventMessages eventMessages, params MoveEventInfo<TEntity>[] moveInfo)
    Parameters
    Type Name Description
    bool canCancel
    EventMessages eventMessages
    MoveEventInfo<TEntity>[] moveInfo

    A collection of MoveEventInfo objects that exposes all entities that have been moved during a single move operation

    View Source

    MoveEventArgs(bool, params MoveEventInfo<TEntity>[])

    Constructor accepting a collection of MoveEventInfo objects

    Declaration
    public MoveEventArgs(bool canCancel, params MoveEventInfo<TEntity>[] moveInfo)
    Parameters
    Type Name Description
    bool canCancel
    MoveEventInfo<TEntity>[] moveInfo

    A collection of MoveEventInfo objects that exposes all entities that have been moved during a single move operation

    View Source

    MoveEventArgs(EventMessages, params MoveEventInfo<TEntity>[])

    Constructor accepting a collection of MoveEventInfo objects

    Declaration
    public MoveEventArgs(EventMessages eventMessages, params MoveEventInfo<TEntity>[] moveInfo)
    Parameters
    Type Name Description
    EventMessages eventMessages
    MoveEventInfo<TEntity>[] moveInfo

    A collection of MoveEventInfo objects that exposes all entities that have been moved during a single move operation

    View Source

    MoveEventArgs(params MoveEventInfo<TEntity>[])

    Constructor accepting a collection of MoveEventInfo objects

    Declaration
    public MoveEventArgs(params MoveEventInfo<TEntity>[] moveInfo)
    Parameters
    Type Name Description
    MoveEventInfo<TEntity>[] moveInfo

    A collection of MoveEventInfo objects that exposes all entities that have been moved during a single move operation

    Properties

    View Source

    MoveInfoCollection

    Gets all MoveEventInfo objects used to create the object

    Declaration
    public IEnumerable<MoveEventInfo<TEntity>>? MoveInfoCollection { get; set; }
    Property Value
    Type Description
    IEnumerable<MoveEventInfo<TEntity>>

    Methods

    View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    View Source

    Equals(MoveEventArgs<TEntity>?)

    Declaration
    public bool Equals(MoveEventArgs<TEntity>? other)
    Parameters
    Type Name Description
    MoveEventArgs<TEntity> other
    Returns
    Type Description
    bool
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Operators

    View Source

    operator ==(MoveEventArgs<TEntity>, MoveEventArgs<TEntity>)

    Determines whether two MoveEventArgs<TEntity> instances are equal.

    Declaration
    public static bool operator ==(MoveEventArgs<TEntity> left, MoveEventArgs<TEntity> right)
    Parameters
    Type Name Description
    MoveEventArgs<TEntity> left

    The first instance to compare.

    MoveEventArgs<TEntity> right

    The second instance to compare.

    Returns
    Type Description
    bool

    true if the instances are equal; otherwise, false.

    View Source

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

    Determines whether two MoveEventArgs<TEntity> instances are not equal.

    Declaration
    public static bool operator !=(MoveEventArgs<TEntity> left, MoveEventArgs<TEntity> right)
    Parameters
    Type Name Description
    MoveEventArgs<TEntity> left

    The first instance to compare.

    MoveEventArgs<TEntity> right

    The second instance to compare.

    Returns
    Type Description
    bool

    true if the instances are not equal; otherwise, false.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX