You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
787 B
32 lines
787 B
namespace ShoopNCook
|
|
{
|
|
/// <summary>
|
|
/// A notice reporter implementation that prints in console the applications's user notices.
|
|
/// </summary>
|
|
public class ConsoleUserNotifier :
|
|
IUserNotifier
|
|
{
|
|
|
|
public void Success(string message)
|
|
{
|
|
Console.WriteLine("<User Notice> Success: " + message);
|
|
}
|
|
|
|
|
|
public void Error(string message)
|
|
{
|
|
Console.WriteLine("<User Notice> Error: " + message);
|
|
}
|
|
|
|
public void Notice(string message)
|
|
{
|
|
Console.WriteLine("<User Notice> Notice: " + message);
|
|
}
|
|
|
|
public void Warn(string message)
|
|
{
|
|
Console.WriteLine("<User Notice> Warn: " + message);
|
|
}
|
|
}
|
|
}
|