Click or drag to resize
DigitalRuneGameEventT Structure
Represents event of a GameObject.

Namespace: DigitalRune.Game
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
public struct GameEvent<T> : IGameEvent, 
	INamedObject, IEquatable<GameEvent<T>>
where T : EventArgs

Type Parameters

T
The type of the EventArgs.

The GameEventT type exposes the following members.

Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(GameEventT)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRaise
Raises the event with default arguments.
Public methodRaise(T)
Raises the event with the given arguments.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two GameEventTs to determine whether they are the same.
Public operatorStatic memberInequality
Compares two GameEventCollections to determine whether they are different.
Top
Properties
  NameDescription
Public propertyMetadata
Gets the event metadata.
Public propertyName
Gets the name.
Public propertyOwner
Gets the game object that owns this event.
Public propertyRaiseOnEvent
Event handler that automatically raises this game object event when another event occurs.
Top
Events
  NameDescription
Public eventEvent
The event.
Top
Explicit Interface Implementations
See Also