2014-03-11 15:41:43 +08:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Example
|
|
|
|
{
|
|
|
|
internal class NotificationMessage
|
|
|
|
{
|
|
|
|
public string Body {
|
|
|
|
get; set;
|
|
|
|
}
|
|
|
|
|
|
|
|
public string Icon {
|
|
|
|
get; set;
|
|
|
|
}
|
|
|
|
|
|
|
|
public string Summary {
|
|
|
|
get; set;
|
|
|
|
}
|
|
|
|
|
|
|
|
public override string ToString ()
|
|
|
|
{
|
2014-03-13 15:08:28 +08:00
|
|
|
return String.Format ("{0}: {1}", Summary, Body);
|
2014-03-11 15:41:43 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|