View Source
Class CancellableEnumerableObjectEventArgs<TEventObject>
Represents event data, for events that support cancellation, and expose impacted objects.
Inheritance
System.Object
System.EventArgs
Assembly: Umbraco.Core.dll
Syntax
public class CancellableEnumerableObjectEventArgs<TEventObject> : CancellableObjectEventArgs<IEnumerable<TEventObject>>, IEquatable<CancellableEventArgs>, IEquatable<CancellableObjectEventArgs<IEnumerable<TEventObject>>>, IEquatable<CancellableEnumerableObjectEventArgs<TEventObject>>
Type Parameters
Name |
Description |
TEventObject |
The type of the exposed, impacted objects.
|
Constructors
View Source
CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject>)
Declaration
public CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject> eventObject)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TEventObject> |
eventObject |
|
View Source
CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject>, Boolean)
Declaration
public CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject> eventObject, bool canCancel)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TEventObject> |
eventObject |
|
System.Boolean |
canCancel |
|
View Source
CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject>, Boolean, EventMessages)
Declaration
public CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject> eventObject, bool canCancel, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TEventObject> |
eventObject |
|
System.Boolean |
canCancel |
|
EventMessages |
eventMessages |
|
View Source
CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject>, Boolean, EventMessages, IDictionary<String, Object>)
Declaration
public CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject> eventObject, bool canCancel, EventMessages messages, IDictionary<string, object> additionalData)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TEventObject> |
eventObject |
|
System.Boolean |
canCancel |
|
EventMessages |
messages |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
additionalData |
|
View Source
CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject>, EventMessages)
Declaration
public CancellableEnumerableObjectEventArgs(IEnumerable<TEventObject> eventObject, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TEventObject> |
eventObject |
|
EventMessages |
eventMessages |
|
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(CancellableEnumerableObjectEventArgs<TEventObject>)
Declaration
public bool Equals(CancellableEnumerableObjectEventArgs<TEventObject> other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|