View Source
Class RecycleBinEventArgs
Inheritance
object
EventArgs
Assembly: Umbraco.Core.dll
Syntax
public class RecycleBinEventArgs : CancellableEventArgs
Constructors
View Source
RecycleBinEventArgs(Guid)
Declaration
public RecycleBinEventArgs(Guid nodeObjectType)
Parameters
| Type |
Name |
Description |
| Guid |
nodeObjectType |
|
View Source
RecycleBinEventArgs(Guid, EventMessages)
Declaration
public RecycleBinEventArgs(Guid nodeObjectType, EventMessages eventMessages)
Parameters
| Type |
Name |
Description |
| Guid |
nodeObjectType |
|
| EventMessages |
eventMessages |
|
Properties
View Source
IsContentRecycleBin
Boolean indicating whether this event was fired for the Content's Recycle Bin.
Declaration
public bool IsContentRecycleBin { get; }
Property Value
View Source
Boolean indicating whether this event was fired for the Media's Recycle Bin.
Declaration
public bool IsMediaRecycleBin { get; }
Property Value
View Source
NodeObjectType
Gets the Id of the node object type of the items
being deleted from the Recycle Bin.
Declaration
public Guid NodeObjectType { get; }
Property Value
View Source
RecycleBinEmptiedSuccessfully
Boolean indicating whether the Recycle Bin was emptied successfully
Declaration
public bool RecycleBinEmptiedSuccessfully { get; set; }
Property Value
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(RecycleBinEventArgs?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(RecycleBinEventArgs? other)
Parameters
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 ==(RecycleBinEventArgs, RecycleBinEventArgs)
Declaration
public static bool operator ==(RecycleBinEventArgs left, RecycleBinEventArgs right)
Parameters
Returns
View Source
operator !=(RecycleBinEventArgs, RecycleBinEventArgs)
Declaration
public static bool operator !=(RecycleBinEventArgs left, RecycleBinEventArgs right)
Parameters
Returns