View Source
Class RecycleBinEventArgs
Inheritance
System.Object
System.EventArgs
Assembly: Umbraco.Core.dll
Syntax
public class RecycleBinEventArgs : CancellableEventArgs, IEquatable<CancellableEventArgs>, IEquatable<RecycleBinEventArgs>
Constructors
View Source
RecycleBinEventArgs(Guid)
Declaration
public RecycleBinEventArgs(Guid nodeObjectType)
Parameters
Type |
Name |
Description |
System.Guid |
nodeObjectType |
|
View Source
RecycleBinEventArgs(Guid, EventMessages)
Declaration
public RecycleBinEventArgs(Guid nodeObjectType, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.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
Type |
Description |
System.Boolean |
|
View Source
Boolean indicating whether this event was fired for the Media's Recycle Bin.
Declaration
public bool IsMediaRecycleBin { get; }
Property Value
Type |
Description |
System.Boolean |
|
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
Type |
Description |
System.Guid |
|
View Source
RecycleBinEmptiedSuccessfully
Boolean indicating whether the Recycle Bin was emptied successfully
Declaration
public bool RecycleBinEmptiedSuccessfully { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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(RecycleBinEventArgs)
Declaration
public bool Equals(RecycleBinEventArgs other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Operators
View Source
Equality(RecycleBinEventArgs, RecycleBinEventArgs)
Declaration
public static bool operator ==(RecycleBinEventArgs left, RecycleBinEventArgs right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
Inequality(RecycleBinEventArgs, RecycleBinEventArgs)
Declaration
public static bool operator !=(RecycleBinEventArgs left, RecycleBinEventArgs right)
Parameters
Returns
Type |
Description |
System.Boolean |
|