Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HelpText"/> class 
 /// specifying the sentence builder.
 /// </summary>
 /// <param name="sentenceBuilder">
 /// A <see cref="BaseSentenceBuilder"/> instance.
 /// </param>
 public HelpText(BaseSentenceBuilder sentenceBuilder)
     : this()
 {
     if (sentenceBuilder == null) throw new ArgumentNullException("sentenceBuilder");
     SentenceBuilder = sentenceBuilder;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HelpText"/> class
 /// specifying the sentence builder and heading informations.
 /// </summary>
 /// <param name="sentenceBuilder">
 /// A <see cref="BaseSentenceBuilder"/> instance.
 /// </param>
 /// <param name="heading">
 /// A string with heading information or
 /// an instance of <see cref="HeadingInfo"/>.
 /// </param>
 public HelpText(BaseSentenceBuilder sentenceBuilder, string heading)
     : this(heading)
 {
     SentenceBuilder = sentenceBuilder;
 }
Ejemplo n.º 3
0
 public HelpText(BaseSentenceBuilder sentenceBuilder, string heading, object options)
     : this(heading, options)
 {
     SentenceBuilder = sentenceBuilder;
 }