예제 #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;
 }
예제 #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;
 }
예제 #3
0
 public HelpText(BaseSentenceBuilder sentenceBuilder, string heading, object options)
     : this(heading, options)
 {
     SentenceBuilder = sentenceBuilder;
 }