/// <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); }
/// <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); }
public virtual void ValidateTimeStamp(string value) { VerifierHelpers.ValidateCMITime(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.InteractionItem.MaxInteractionIdFromCmiLength >= 255, "DMV0150"); VerifierHelpers.ValidateCMIIdentifier(value); }