StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
The standard Event object for IEventDispatcher. More...
Public Member Functions | |
TmEvent (object type, IEventDispatcher target, object data) | |
Construct a TmEvent. | |
void | Restore () |
Clean up this instance for reuse. More... | |
void | Retain () |
Keep this instance from being returned to the pool More... | |
void | Release () |
Release this instance back to the pool. More... | |
Protected Attributes | |
int | retainCount |
Properties | |
object | type [get, set] |
IEventDispatcher | target [get, set] |
object | data [get, set] |
bool | retain [get] |
Properties inherited from strange.extensions.dispatcher.eventdispatcher.api.IEvent | |
object | type [get, set] |
The Event key. | |
IEventDispatcher | target [get, set] |
The IEventDispatcher that sent the event. | |
object | data [get, set] |
An arbitrary data payload. | |
Properties inherited from strange.extensions.pool.api.IPoolable | |
bool | retain [get] |
Is this instance retained? More... | |
The standard Event object for IEventDispatcher.
The TmEvent has three proeprties:
|
inline |
Release this instance back to the pool.
Release methods should clean up the instance sufficiently to remove prior state.
Implements strange.extensions.pool.api.IPoolable.
|
inline |
Clean up this instance for reuse.
Restore methods should clean up the instance sufficiently to remove prior state.
Implements strange.extensions.pool.api.IPoolable.
|
inline |
Keep this instance from being returned to the pool
Implements strange.extensions.pool.api.IPoolable.