ThrowIfThisIsNotNew method
void
ThrowIfThisIsNotNew()
Implementation
void ThrowIfThisIsNotNew() {
if (!IsNew) {
throw InvalidOperationException("Strings.AttachmentCannotBeUpdated");
}
}
void ThrowIfThisIsNotNew() {
if (!IsNew) {
throw InvalidOperationException("Strings.AttachmentCannotBeUpdated");
}
}