Пример #1
0
 public override void AddParagraph(DesignerFactory desFactory)
 {
     desFactory.GetDesigner(_name)
     .Draw(String.Format(EMPL_PARAGRAPH,
                         $"{_emplInfo.FirstName} {_emplInfo.Prefix} {_emplInfo.LastName}",
                         _emplInfo.Employer.CompanyName)
           );
 }
Пример #2
0
        public override void AddParagraph(DesignerFactory desFactory)
        {
            var designer = desFactory.GetDesigner(_name);

            foreach (var answer in _question.Answers)
            {
                designer.Draw(answer.Name);
            }
        }
Пример #3
0
        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);
        }
Пример #4
0
 public override void AddParagraph(DesignerFactory desFactory)
 => desFactory.GetDesigner(_name).Draw(_page.Name);
Пример #5
0
 public override void AddParagraph(DesignerFactory desFactory)
 => desFactory.GetDesigner(_name).Draw(TITLE_DOC);
Пример #6
0
 public override void AddParagraph(DesignerFactory desFactory)
 => desFactory.GetDesigner(_name).Draw(_question.QuestionName);