public override void AddParagraph(DesignerFactory desFactory) { desFactory.GetDesigner(_name) .Draw(String.Format(EMPL_PARAGRAPH, $"{_emplInfo.FirstName} {_emplInfo.Prefix} {_emplInfo.LastName}", _emplInfo.Employer.CompanyName) ); }
public override void AddParagraph(DesignerFactory desFactory) { var designer = desFactory.GetDesigner(_name); foreach (var answer in _question.Answers) { designer.Draw(answer.Name); } }
public override void AddParagraph(DesignerFactory desFactory) { var answer = _question.Answers.FirstOrDefault(); if (answer == null) { throw new ArgumentNullException(nameof(answer)); } desFactory.GetDesigner(_name).Draw(answer.Name); }
public override void AddParagraph(DesignerFactory desFactory) => desFactory.GetDesigner(_name).Draw(_page.Name);
public override void AddParagraph(DesignerFactory desFactory) => desFactory.GetDesigner(_name).Draw(TITLE_DOC);
public override void AddParagraph(DesignerFactory desFactory) => desFactory.GetDesigner(_name).Draw(_question.QuestionName);