| GameEventCollectionAddT Method (GameEventMetadataT) |
Adds an event for the given metadata.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public void Add<T>(
GameEventMetadata<T> metadata
)
where T : EventArgs
Public Sub Add(Of T As EventArgs) (
metadata As GameEventMetadata(Of T)
)
public:
generic<typename T>
where T : EventArgs
void Add(
GameEventMetadata<T>^ metadata
)
member Add :
metadata : GameEventMetadata<'T> -> unit when 'T : EventArgs
Parameters
- metadata
- Type: DigitalRune.GameGameEventMetadataT
The metadata of the event.
Type Parameters
- T
- The type of the event arguments.
Exceptions See Also