View Source
Class DeleteRevisionsEventArgs
Inheritance
System.Object
System.EventArgs
Assembly: Umbraco.Core.dll
Syntax
public class DeleteRevisionsEventArgs : DeleteEventArgs, IEquatable<CancellableEventArgs>, IEquatable<DeleteEventArgs>, IEquatable<DeleteRevisionsEventArgs>
Constructors
View Source
DeleteRevisionsEventArgs(Int32, Boolean, Int32, Boolean, DateTime)
Declaration
public DeleteRevisionsEventArgs(int id, bool canCancel, int specificVersion = 0, bool deletePriorVersions = false, DateTime dateToRetain = default(DateTime))
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.Boolean |
canCancel |
|
System.Int32 |
specificVersion |
|
System.Boolean |
deletePriorVersions |
|
System.DateTime |
dateToRetain |
|
View Source
DeleteRevisionsEventArgs(Int32, Int32, Boolean, DateTime)
Declaration
public DeleteRevisionsEventArgs(int id, int specificVersion = 0, bool deletePriorVersions = false, DateTime dateToRetain = default(DateTime))
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.Int32 |
specificVersion |
|
System.Boolean |
deletePriorVersions |
|
System.DateTime |
dateToRetain |
|
Properties
View Source
DateToRetain
Declaration
public DateTime DateToRetain { get; }
Property Value
Type |
Description |
System.DateTime |
|
View Source
DeletePriorVersions
Declaration
public bool DeletePriorVersions { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsDeletingSpecificRevision
Returns true if we are deleting a specific revision
Declaration
public bool IsDeletingSpecificRevision { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
SpecificVersion
Declaration
public int SpecificVersion { get; }
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(DeleteRevisionsEventArgs)
Declaration
public bool Equals(DeleteRevisionsEventArgs other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Operators
View Source
Equality(DeleteRevisionsEventArgs, DeleteRevisionsEventArgs)
Declaration
public static bool operator ==(DeleteRevisionsEventArgs left, DeleteRevisionsEventArgs right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
Inequality(DeleteRevisionsEventArgs, DeleteRevisionsEventArgs)
Declaration
public static bool operator !=(DeleteRevisionsEventArgs left, DeleteRevisionsEventArgs right)
Parameters
Returns
Type |
Description |
System.Boolean |
|