View Source
Class DeleteEventArgs
Inheritance
System.Object
System.EventArgs
Assembly: Umbraco.Core.dll
Syntax
public class DeleteEventArgs : CancellableEventArgs, IEquatable<CancellableEventArgs>, IEquatable<DeleteEventArgs>
Constructors
View Source
DeleteEventArgs(Int32)
Declaration
public DeleteEventArgs(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
View Source
DeleteEventArgs(Int32, Boolean)
Declaration
public DeleteEventArgs(int id, bool canCancel)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.Boolean |
canCancel |
|
View Source
DeleteEventArgs(Int32, Boolean, EventMessages)
Declaration
public DeleteEventArgs(int id, bool canCancel, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.Boolean |
canCancel |
|
EventMessages |
eventMessages |
|
Properties
View Source
Id
Gets the Id of the object being deleted.
Declaration
Property Value
Type |
Description |
System.Int32 |
|
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(DeleteEventArgs)
Declaration
public bool Equals(DeleteEventArgs other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Operators
View Source
Equality(DeleteEventArgs, DeleteEventArgs)
Declaration
public static bool operator ==(DeleteEventArgs left, DeleteEventArgs right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
Inequality(DeleteEventArgs, DeleteEventArgs)
Declaration
public static bool operator !=(DeleteEventArgs left, DeleteEventArgs right)
Parameters
Returns
Type |
Description |
System.Boolean |
|