InternalCreate method
Future<void>
InternalCreate(
- FolderId? parentFolderId,
- MessageDisposition? messageDisposition,
- SendInvitationsMode? sendInvitationsMode
Implementation
Future<void> InternalCreate(
FolderId? parentFolderId,
MessageDisposition? messageDisposition,
SendInvitationsMode? sendInvitationsMode) async {
this.ThrowIfThisIsNotNew();
this.ThrowIfThisIsAttachment();
if (this.IsNew || this.IsDirty) {
await this.Service.CreateItem(
this,
parentFolderId,
messageDisposition,
sendInvitationsMode != null
? sendInvitationsMode
: this.DefaultSendInvitationsMode);
await this.Attachments.Save();
}
}