StrangeIoC  0.6.0
The IoC/Binding Framework for Unity3D and C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | Protected Attributes | Properties | List of all members
strange.extensions.dispatcher.eventdispatcher.impl.TmEvent Class Reference

The standard Event object for IEventDispatcher. More...

Inheritance diagram for strange.extensions.dispatcher.eventdispatcher.impl.TmEvent:
strange.extensions.dispatcher.eventdispatcher.api.IEvent strange.extensions.pool.api.IPoolable

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...
 

Detailed Description

The standard Event object for IEventDispatcher.

The TmEvent has three proeprties:

Member Function Documentation

void strange.extensions.dispatcher.eventdispatcher.impl.TmEvent.Release ( )
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.

void strange.extensions.dispatcher.eventdispatcher.impl.TmEvent.Restore ( )
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.

void strange.extensions.dispatcher.eventdispatcher.impl.TmEvent.Retain ( )
inline

Keep this instance from being returned to the pool

Implements strange.extensions.pool.api.IPoolable.


The documentation for this class was generated from the following file: