// Copyright (c) 2015-2017 schick Informatik // Description: Abstraktion für Report / Druckerzeugung.. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace bsmd.database { /// /// Interface to print nsw messages to a report (get text info from messages) /// public interface IMessageParagraph { string Title { get; } string Subtitle { get; } bool ShowChildrenAsTable { get; } List> MessageText { get; } List ChildParagraphs { get; } } /// /// Dummy Container class implementation for sublist display purposes /// public class MessageParagraph : IMessageParagraph { private readonly List childParagraphs = new List(); private readonly List> messageText = new List>(); public List ChildParagraphs { get { return childParagraphs; } } public List> MessageText { get { return messageText; } } public bool ShowChildrenAsTable { get; set; } public string Subtitle { get; set; } public string Title { get; set; } } }