예제 #1
0
 /// <summary>
 /// Validates the value as a time(second, 10, 0)
 /// </summary>
 /// <param name="value">The value to validate</param>
 public override void ValidateTimeStamp(string value)
 {
     if (value != null)
     {
         VerifierHelpers.ValidateTimeStampV1p3(value);
     }
 }
 /// <summary>
 /// Validates value as a CMIIdentifier
 /// </summary>
 /// <param name="value">The value to validate.</param>
 public override void ValidateId(string value)
 {
     Utilities.Assert(BaseSchemaInternal.AttemptObjectiveItem.MaxKeyLength >= 255, "DMV0190");
     VerifierHelpers.ValidateCMIIdentifier(value);
 }
예제 #3
0
 /// <summary>
 /// Validates value as a CMIFeedback.
 /// </summary>
 /// <param name="value">The value to validate.</param>
 public override void ValidatePattern(string value)
 {
     Utilities.Assert(BaseSchemaInternal.CorrectResponseItem.MaxResponsePatternLength >= 255, "DMV0200");
     VerifierHelpers.ValidateCMIFeedback(value);
 }
예제 #4
0
 public virtual void ValidateTimeStamp(string value)
 {
     VerifierHelpers.ValidateCMITime(value);
 }
예제 #5
0
 /// <summary>
 /// Validates value as a CMIIdentifier
 /// </summary>
 /// <param name="value">The value to validate.</param>
 public override void ValidateId(string value)
 {
     Utilities.Assert(BaseSchemaInternal.InteractionItem.MaxInteractionIdFromCmiLength >= 255, "DMV0150");
     VerifierHelpers.ValidateCMIIdentifier(value);
 }