| GameEventCollectionAddT Method (Int32) |
Adds an event with the given ID.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public void Add<T>(
int id
)
where T : EventArgs
Public Sub Add(Of T As EventArgs) (
id As Integer
)
public:
generic<typename T>
where T : EventArgs
void Add(
int id
)
member Add :
id : int -> unit when 'T : EventArgs
Parameters
- id
- Type: SystemInt32
The ID of the event.
Type Parameters
- T
- The type of the event arguments.
Exceptions See Also