Search Results for

    Show / Hide Table of Contents
    View Source

    Class MoveEventArgs<TEntity>

    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

    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?)

    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(MoveEventArgs<TEntity>?)

    Indicates whether the current object is equal to another object of the same type.

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

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    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 ==(MoveEventArgs<TEntity>, MoveEventArgs<TEntity>)

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

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

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