Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Delegate<S, E>

Type parameters

  • S

  • E

Hierarchy

  • Delegate

Index

Constructors

Methods

Constructors

constructor

  • Type parameters

    • S

    • E

    Returns Delegate<S, E>

Methods

add

  • add(handler: DelegateHandler<S, E>, clearable?: boolean): void
  • Parameters

    • handler: DelegateHandler<S, E>
    • clearable: boolean = true

    Returns void

clear

  • clear(): void
  • Returns void

dispose

  • dispose(): void
  • Returns void

invoke

  • invoke(context: S, eventArgs: E): void
  • Parameters

    • context: S
    • eventArgs: E

    Returns void

remove

  • remove(handler: DelegateHandler<S, E>): void
  • Parameters

    • handler: DelegateHandler<S, E>

    Returns void

Generated using TypeDoc