Microscopic Traffic Simulator

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
Microscopic_Traffic_Simulator.ViewModels.Messages.Messenger Class Reference

Class representing messenger for communicating between viewmodels. More...

## Public Member Functions
TMessage | GetEvent< TMessage > ()
| Get message from messenger. If the message does not exist in messenger it is created. More...

## Detailed Description

Class representing messenger for communicating between viewmodels.

Definition at line 9 of file Messenger.cs.

## Member Function Documentation

TMessage Microscopic_Traffic_Simulator.ViewModels.Messages.Messenger.GetEvent< TMessage > | ( |  | ) |

Get message from messenger. If the message does not exist in messenger it is created.

Template Parameters

  TMessage | Type of the message.

Returns
  Message object.

Type Constraints

  TMessage | : | MessageBase |

Definition at line 21 of file Messenger.cs.

The documentation for this class was generated from the following file:

- Microscopic Traffic Simulator/ViewModels/Messages/Messenger.cs