Exemplo n.º 1
0
        static void Main(string[] args)
        {
            NotificationBuilder Builder = new NotificationBuilder();

            Builder.SetAuthor("Ivan Šebetić");
            Builder.SetColor(ConsoleColor.DarkBlue);
            Builder.SetLevel(Category.INFO);
            Builder.SetText("Bila jednom jedna crvenkapica");
            Builder.SetTitle("Crvenkapica");
            Builder.SetTime(DateTime.Now);
            ConsoleNotification message = Builder.Build();

            Builder.Display(message);
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            NotificationBuilder Builder = new NotificationBuilder();

            Builder.SetAuthor("Luka Vukadin");
            Builder.SetColor(ConsoleColor.DarkBlue);
            Builder.SetLevel(Category.INFO);
            Builder.SetText("nesta novo");
            Builder.SetTitle("Naslov");
            Builder.SetTime(DateTime.Now);
            ConsoleNotification message = Builder.Build();

            Builder.Display(message);
        }