Show / Hide Table of Contents

Class ThreadSafeActionBase<TAction>

Inheritance
System.Object
ThreadSafeActionBase<TAction>
ThreadSafeAction
ThreadSafeAction<T>
ThreadSafeAction<T1, T2>
ThreadSafeAction<T1, T2, T3>
ThreadSafeAction<T1, T2, T3, T4>
Implements
IEvent
Namespace: Eco.Core.Utils
Assembly: Eco.Core.dll
Syntax
public abstract class ThreadSafeActionBase<TAction> : Object, IEvent where TAction : Delegate
Type Parameters
Name Description
TAction

Constructors

ThreadSafeActionBase()

Declaration
protected ThreadSafeActionBase()

Fields

action

Declaration
protected TAction action
Field Value
Type Description
TAction

Properties

Any

Declaration
public bool Any { get; }
Property Value
Type Description
System.Boolean

CallbackCount

Declaration
public int CallbackCount { get; }
Property Value
Type Description
System.Int32

Callbacks

Declaration
public ThreadSafeActionBase<TAction>.DelegateDebug[] Callbacks { get; }
Property Value
Type Description
ThreadSafeActionBase.DelegateDebug<>[]

Methods

Add(TAction)

Declaration
public void Add(TAction other)
Parameters
Type Name Description
TAction other

AddUnique(TAction)

Declaration
public void AddUnique(TAction other)
Parameters
Type Name Description
TAction other

Clear()

Declaration
public void Clear()

Remove(TAction)

Declaration
public bool Remove(TAction other)
Parameters
Type Name Description
TAction other
Returns
Type Description
System.Boolean

Set()

Declaration
public bool Set()
Returns
Type Description
System.Boolean

Explicit Interface Implementations

IEvent.Add(Object)

Declaration
void IEvent.Add(object entry)
Parameters
Type Name Description
System.Object entry

IEvent.Remove(Object)

Declaration
bool IEvent.Remove(object entry)
Parameters
Type Name Description
System.Object entry
Returns
Type Description
System.Boolean

Implements

IEvent

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
☀
☾