Search Results for

    Show / Hide Table of Contents
    View Source

    Class EventDefinitionBase

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Events
    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
    Type Description
    object
    View Source

    EventName

    Declaration
    public string? EventName { get; }
    Property Value
    Type Description
    string
    View Source

    Sender

    Declaration
    public object Sender { get; }
    Property Value
    Type Description
    object

    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
    Type Name Description
    EventDefinitionBase other

    An object to compare with this object.

    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
    Type Name Description
    EventDefinitionBase left
    EventDefinitionBase right
    Returns
    Type Description
    bool
    View Source

    operator !=(EventDefinitionBase, EventDefinitionBase)

    Declaration
    public static bool operator !=(EventDefinitionBase left, EventDefinitionBase right)
    Parameters
    Type Name Description
    EventDefinitionBase left
    EventDefinitionBase right
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX