Class ThreadSafeActionBase<TAction>
Inheritance
System.Object
ThreadSafeActionBase<TAction>
Assembly: Eco.Core.dll
Syntax
public abstract class ThreadSafeActionBase<TAction> : Object, IEvent where TAction : Delegate
Type Parameters
Constructors
ThreadSafeActionBase()
Declaration
protected ThreadSafeActionBase()
Fields
action
Declaration
Field Value
Properties
Any
Declaration
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
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
Remove(TAction)
Declaration
public bool Remove(TAction other)
Parameters
Type |
Name |
Description |
TAction |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Set()
Declaration
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
Extension Methods