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