AttachmentService.GetPreviousAndNextSiblings Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

GetPreviousAndNextSiblings(Attachment, bool, bool)

Get closest (previous and next) siblings for the specified attachment.

public static (Attachment prev, Attachment next)GetPreviousAndNextSiblings(Attachment attachment, bool sudo = false, bool trashed = false)

Parameters

attachment
Attachment
sudo
bool
trashed
bool

Returns

System.ValueTuple