| GameEventCollectionGetT Method (GameEventMetadataT) |
Gets the 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 GameEvent<T> Get<T>(
GameEventMetadata<T> metadata
)
where T : EventArgs
Public Function Get(Of T As EventArgs) (
metadata As GameEventMetadata(Of T)
) As GameEvent(Of T)
public:
generic<typename T>
where T : EventArgs
GameEvent<T> Get(
GameEventMetadata<T>^ metadata
)
member Get :
metadata : GameEventMetadata<'T> -> GameEvent<'T> when 'T : EventArgs
Parameters
- metadata
- Type: DigitalRune.GameGameEventMetadataT
The metadata of the property.
Type Parameters
- T
- The type of the property value.
Return Value
Type:
GameEventTThe property
Exceptions See Also