IMHOTEP Framework
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Properties | List of all members
Notification Class Reference

Public Member Functions

 Notification (string text, TimeSpan timeToLive)
 A constructor. More...
 
 Notification (string text, TimeSpan timeToLive, Sprite notificationSprite)
 A constructor. More...
 
 Notification (string text, TimeSpan timeToLive, Sprite notificationSprite, AdditionalInfo additionalInfo)
 

Properties

string Text [get]
 
DateTime ExpireDate [get]
 
DateTime CreationDate [get]
 
Sprite NotificationSprite [get]
 
AdditionalInfo AdditionalInfo [get]
 

Detailed Description

Definition at line 5 of file Notification.cs.

Constructor & Destructor Documentation

Notification.Notification ( string  text,
TimeSpan  timeToLive 
)
inline

A constructor.

Creates a new Notification with the default icon.

Parameters
textThe notification text
timeToLiveThe time to live indicates how long the notification is displayed. If the time to live is zero (TimeSpan.Zero) the notification is displayed permanently

Definition at line 20 of file Notification.cs.

Notification.Notification ( string  text,
TimeSpan  timeToLive,
Sprite  notificationSprite 
)
inline

A constructor.

Creates a new Notification.

Parameters
textThe notification text
timeToLiveThe time to live indicates how long the notification is displayed. If the time to live is zero (TimeSpan.Zero) the notification is displayed permanently
notificationSpriteThe notifiaction icon

Definition at line 44 of file Notification.cs.


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