public bool VerifyString(string input) { int dummyVar; MaskedTextResultHint dummyVar2; return VerifyString(input, out dummyVar, out dummyVar2); }
/// <summary> /// Check if the received string value matches with the Introduction Mask for DateTime datatype. /// </summary> /// <param name="stringValue">String to be checked.</param> /// <returns>Returns true if the string matches with Introduction Mask.</returns> private bool IsValidDateTimeAccordingMask(string stringValue) { bool result = true; if (mMask != string.Empty) { MaskedTextProvider maskTextProvider = new MaskedTextProvider(ConvertMask2DisplayMask(mMask)); result = maskTextProvider.VerifyString(stringValue); } return result; }