ValidateWithIndex method
Implementation
@override
void ValidateWithIndex(int attachmentIndex) {
if (StringUtils.IsNullOrEmpty(_fileName) &&
(_content == null) &&
(_contentStream == null)) {
throw ServiceValidationException(
"FileAttachmentContentIsNotSet($attachmentIndex)",
);
}
}