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.
31 lines
779 B
31 lines
779 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ShoopNCook
|
|
{
|
|
/// <summary>
|
|
/// A notice reporter implementation that prints in console the applications's user notices.
|
|
/// </summary>
|
|
public class ConsoleUserNotifier :
|
|
UserNotifier
|
|
{
|
|
public void Error(string message)
|
|
{
|
|
Console.WriteLine("<Notice Reporter> Error: " + message);
|
|
}
|
|
|
|
public void Notice(string message)
|
|
{
|
|
Console.WriteLine("<Notice Reporter> Notice: " + message);
|
|
}
|
|
|
|
public void Warn(string message)
|
|
{
|
|
Console.WriteLine("<Notice Reporter> Warn: " + message);
|
|
}
|
|
}
|
|
}
|