29 lines
385 B
C#
29 lines
385 B
C#
|
using System;
|
||
|
|
||
|
namespace Example
|
||
|
{
|
||
|
internal class NotificationMessage
|
||
|
{
|
||
|
public NotificationMessage ()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public string Body {
|
||
|
get; set;
|
||
|
}
|
||
|
|
||
|
public string Icon {
|
||
|
get; set;
|
||
|
}
|
||
|
|
||
|
public string Summary {
|
||
|
get; set;
|
||
|
}
|
||
|
|
||
|
public override string ToString ()
|
||
|
{
|
||
|
return String.Format ("[{0}: {1}]", Summary, Body);
|
||
|
}
|
||
|
}
|
||
|
}
|