View Source
Class MoveEventArgs<TEntity>
Inheritance
System.Object
System.EventArgs
Assembly: Umbraco.Core.dll
Syntax
public class MoveEventArgs<TEntity> : CancellableObjectEventArgs<TEntity>, IEquatable<CancellableEventArgs>, IEquatable<CancellableObjectEventArgs<TEntity>>, IEquatable<MoveEventArgs<TEntity>>
Type Parameters
Constructors
View Source
MoveEventArgs(Boolean, EventMessages, MoveEventInfo<TEntity>[])
Constructor accepting a collection of MoveEventInfo objects
Declaration
public MoveEventArgs(bool canCancel, EventMessages eventMessages, params MoveEventInfo<TEntity>[] moveInfo)
Parameters
Type |
Name |
Description |
System.Boolean |
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(Boolean, MoveEventInfo<TEntity>[])
Constructor accepting a collection of MoveEventInfo objects
Declaration
public MoveEventArgs(bool canCancel, params MoveEventInfo<TEntity>[] moveInfo)
Parameters
Type |
Name |
Description |
System.Boolean |
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, 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(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 |
System.Collections.Generic.IEnumerable<MoveEventInfo<TEntity>> |
|
Methods
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
Equals(MoveEventArgs<TEntity>)
Declaration
public bool Equals(MoveEventArgs<TEntity> other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Operators
View Source
Equality(MoveEventArgs<TEntity>, MoveEventArgs<TEntity>)
Declaration
public static bool operator ==(MoveEventArgs<TEntity> left, MoveEventArgs<TEntity> right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
Inequality(MoveEventArgs<TEntity>, MoveEventArgs<TEntity>)
Declaration
public static bool operator !=(MoveEventArgs<TEntity> left, MoveEventArgs<TEntity> right)
Parameters
Returns
Type |
Description |
System.Boolean |
|