Interface IAttachmentProcessor
An interface used to load attachments.
Namespace: CrashCABN.Metadata
Assembly: CrashCABN.Metadata.Abstractions.dll
Syntax
public interface IAttachmentProcessor
Methods
View SourceLoad(AttachmentInfo, IAttachmentContainer)
Loads an attachment.
Declaration
ValueTask<object> Load(AttachmentInfo attachment, IAttachmentContainer container)
Parameters
| Type | Name | Description |
|---|---|---|
| AttachmentInfo | attachment | The attachment to load. |
| IAttachmentContainer | container | The attachment container to use, in case other attachments need to be loaded. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.ValueTask<System.Object> | A task representing the asynchronous operation. |