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