Class AttachmentProcessor
The default attachment processor.
Inherited Members
Namespace: CrashCABN.Metadata
Assembly: CrashCABN.Metadata.Attachments.dll
Syntax
public record AttachmentProcessor : IAttachmentProcessor, IEquatable<AttachmentProcessor>
Constructors
View SourceAttachmentProcessor(IAzureBlobProvider?)
The default attachment processor.
Declaration
public AttachmentProcessor(IAzureBlobProvider? BlobProvider = null)
Parameters
Type | Name | Description |
---|---|---|
IAzureBlobProvider | BlobProvider |
Properties
View SourceBlobProvider
Declaration
public IAzureBlobProvider? BlobProvider { get; init; }
Property Value
Type | Description |
---|---|
IAzureBlobProvider |
Methods
View SourceLoad(AttachmentInfo, IAttachmentContainer)
Loads an attachment.
Declaration
public virtual 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 |
---|---|
ValueTask<object> | A task representing the asynchronous operation. |