Show / Hide Table of Contents

Class HandleEvent

An event that can have callbacks removed via a passed handle.

Inheritance
System.Object
HandleEvent
Namespace: Eco.Core.Utils
Assembly: Eco.Core.dll
Syntax
public class HandleEvent : Object

Constructors

HandleEvent()

Declaration
public HandleEvent()

Methods

Add(Object, Action)

Declaration
public void Add(object handle, Action a)
Parameters
Type Name Description
System.Object handle
System.Action a

AddUnique(Object, Action)

Declaration
public void AddUnique(object handle, Action a)
Parameters
Type Name Description
System.Object handle
System.Action a

Invoke()

Declaration
public void Invoke()

Remove(Object)

Declaration
public void Remove(object handle)
Parameters
Type Name Description
System.Object handle

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾