コード例 #1
0
 /// <summary>
 /// Create a new Section with specified Style
 /// </summary>
 /// <param Name="style">The Style the generated paragraph should be rendered in</param>
 /// <param Name="paragraphLength">The mean length of the paragraph</param>
 /// <param Name="paragraphVariance">The standard deviation of paragraph length</param>
 public Section(Style style, int paragraphLength, int paragraphVariance)
 {
     Style             = style;
     NextSection       = new SectionSelector();
     ParagraphLength   = paragraphLength;
     ParagraphVariance = paragraphVariance;
 }
コード例 #2
0
ファイル: Section.cs プロジェクト: malacandrian/fyp
 /// <summary>
 /// Create a new Section with specified Style
 /// </summary>
 /// <param Name="style">The Style the generated paragraph should be rendered in</param>
 /// <param Name="paragraphLength">The mean length of the paragraph</param>
 /// <param Name="paragraphVariance">The standard deviation of paragraph length</param>
 public Section(Style style, int paragraphLength, int paragraphVariance)
 {
     Style = style;
     NextSection = new SectionSelector();
     ParagraphLength = paragraphLength;
     ParagraphVariance = paragraphVariance;
 }