public FontNameProperty(StringLiteral value) { if (value == null) { throw new ArgumentNullException(nameof(value)); } this.Value = value; }
public Section( StringLiteral name, IEnumerable <Section> sections, IEnumerable <QuestionRule> questionRules, IEnumerable <ValueTypeRule> valueTypeRules) { this.Name = name; this.Sections = sections; this.QuestionRules = questionRules; this.ValueTypeRules = valueTypeRules; }
public Section( StringLiteral name, IEnumerable <Section> sections = null, IEnumerable <QuestionRule> questionRules = null, IEnumerable <ValueTypeRule> valueTypeRules = null) { if (name == null) { throw new ArgumentNullException(nameof(name)); } if (name.Value.IsNullOrWhiteSpace()) { throw new ArgumentException("A non-null, non-empty section name must be given."); } this.Name = name; this.Sections = sections; this.QuestionRules = questionRules; this.ValueTypeRules = valueTypeRules; }
public FontNameProperty(StringLiteral value) { this.Value = value; }