public ConsoleNotification INFOnotification(string author) { NotificationBuilder builder = new NotificationBuilder(); builder.SetAuthor(author); builder.SetTitle("doop"); builder.SetLevel(Category.INFO); builder.SetColor(ConsoleColor.White); builder.SetText("lv3"); return(builder.Build()); }
public ConsoleNotification ALERTnotification(string author) { NotificationBuilder builder = new NotificationBuilder(); builder.SetAuthor(author); builder.SetTitle("doop"); builder.SetLevel(Category.ALERT); builder.SetColor(ConsoleColor.DarkRed); builder.SetText("lv3"); return(builder.Build()); }
public ConsoleNotification CreateERRORNotification(string author) { NotificationBuilder note = new NotificationBuilder(); note.SetAuthor(author); note.SetTitle("Error!"); note.SetLevel(Category.ERROR); note.SetColor(ConsoleColor.White); note.SetText("Content"); return(note.Build()); }
public ConsoleNotification CreateALERTNotification(string author) { NotificationBuilder note = new NotificationBuilder(); note.SetAuthor(author); note.SetTitle("Alert!"); note.SetLevel(Category.ALERT); note.SetColor(ConsoleColor.Red); note.SetText("Content"); return(note.Build()); }
public ConsoleNotification CreateINFONotification(string author) { NotificationBuilder note = new NotificationBuilder(); note.SetAuthor(author); note.SetTitle("Informations!"); note.SetLevel(Category.INFO); note.SetColor(ConsoleColor.Green); note.SetText("Content"); return(note.Build()); }