Click or drag to resize
DigitalRuneGameEventCollectionAddT Method (GameEventMetadataT)
Adds an event for the given metadata.

Namespace: DigitalRune.Game
Assembly: 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

Parameters

metadata
Type: DigitalRune.GameGameEventMetadataT
The metadata of the event.

Type Parameters

T
The type of the event arguments.
Exceptions
ExceptionCondition
ArgumentNullExceptionmetadata is .
See Also