Example #1
0
        /// <summary>
        /// Converts the value of the specified <see cref="ThresholdRevisionType"/> to its equivalent <see cref="String"/> representation.
        /// </summary>
        /// <param name="thresholdType">A threshold revision type.</param>
        /// <returns>The <see cref="String"/> equivalent of the value of <paramref name="thresholdType"/>.</returns>
        public static string ToString(ThresholdRevisionType thresholdType)
        {
            switch (thresholdType)
            {
            case ThresholdRevisionType.Initial: return("Initial");

            case ThresholdRevisionType.Revised: return("Revised");

            case ThresholdRevisionType.Summary: return("Summary");

            default: return(string.Empty);
            }
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ThresholdRevision"/> class.
 /// </summary>
 /// <param name="statement">The number of the statement reviewed</param>
 /// <param name="type">The type of threshold status to create.</param>
 internal ThresholdRevision(Statement statement, ThresholdRevisionType type)
 {
     _statement = statement;
     _type      = type;
 }