View Source
Class EventDefinitionBase
Assembly: Umbraco.Core.dll
Syntax
public abstract class EventDefinitionBase : IEventDefinition
Constructors
View Source
EventDefinitionBase(object?, object?, string?)
Declaration
protected EventDefinitionBase(object? sender, object? args, string? eventName = null)
Parameters
| Type |
Name |
Description |
| object |
sender |
|
| object |
args |
|
| string |
eventName |
|
Properties
View Source
Args
Declaration
public object Args { get; }
Property Value
View Source
EventName
Declaration
public string? EventName { get; }
Property Value
View Source
Sender
Declaration
public object Sender { get; }
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(EventDefinitionBase?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(EventDefinitionBase? 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.
|
View Source
RaiseEvent()
Declaration
public abstract void RaiseEvent()
Operators
View Source
operator ==(EventDefinitionBase, EventDefinitionBase)
Declaration
public static bool operator ==(EventDefinitionBase left, EventDefinitionBase right)
Parameters
Returns
View Source
operator !=(EventDefinitionBase, EventDefinitionBase)
Declaration
public static bool operator !=(EventDefinitionBase left, EventDefinitionBase right)
Parameters
Returns