/// <summary> /// Constructor, to create an Indexable Paragraph /// </summary> /// <param name="index">int</param> /// <param name="paragraph">IttLetterParagraph</param> public IndexedIttLetterParagraph(int index, IttLetterParagraph paragraph) : base(paragraph) { this.index = index; }
/// <summary> /// Constructor for that accepts data from existing IttLetterBullet /// </summary> /// <param name="bullet">IttLetterBullet</param> public IttLetterBullet(IttLetterBullet bullet) { this.id = bullet.id; this.paragraph = bullet.Paragraph; this.text = bullet.Text; }
/// <summary> /// Empty Constructor /// </summary> public IttLetterBullet() { this.id = 0; paragraph = new IttLetterParagraph(); text = ""; }
/// <summary> /// Constructor for adding IttLetterBullet from Db /// </summary> /// <param name="id">int</param> /// <param name="paragraph">int</param> /// <param name="name">string</param> public IttLetterBullet(int id, IttLetterParagraph paragraph, string name) { this.id = id; this.paragraph = paragraph; this.text = name; }
/// <summary> /// Constructor for that accepts data from existing IttLetterParagraph /// </summary> /// <param name="paragraph">IttLetterParagraph</param> public IttLetterParagraph(IttLetterParagraph paragraph) { this.id = paragraph.id; this.project = paragraph.Project; this.name = paragraph.Name; }