コード例 #1
0
 /// <summary>
 /// Copy constructor -- this constructor is invoked to make a new copy of the (static) Default AnswerSummaryOptions
 /// (as originally read from web.config).
 /// </summary>
 /// <param name="source">The source options to be copied.</param>
 internal AnswerSummaryOptions(AnswerSummaryOptions source)
 {
     Format = source.Format;
     Border = source.Border;
     PercentWidthForPrompt = source.PercentWidthForPrompt;
     BulletAnswers         = source.BulletAnswers;
     BulletPrompts         = source.BulletPrompts;
     IndentAnswers         = source.IndentAnswers;
     IndentPrompts         = source.IndentPrompts;
 }
コード例 #2
0
 /// <summary>
 /// Copy constructor -- this constructor is invoked to make a new copy of the (static) Default AnswerSummaryOptions
 /// (as originally read from web.config).
 /// </summary>
 /// <param name="source">The source options to be copied.</param>
 internal AnswerSummaryOptions(AnswerSummaryOptions source)
 {
     Format = source.Format;
     Border = source.Border;
     PercentWidthForPrompt = source.PercentWidthForPrompt;
     BulletAnswers = source.BulletAnswers;
     BulletPrompts = source.BulletPrompts;
     IndentAnswers = source.IndentAnswers;
     IndentPrompts = source.IndentPrompts;
 }
コード例 #3
0
 static AnswerSummaryOptions()
 {
     s_default = null;
 }