Show / Hide Table of Contents

Class AttachmentProcessor

The default attachment processor.

Inheritance
object
AttachmentProcessor
WatsonAttachmentProcessor
Implements
IAttachmentProcessor
IEquatable<AttachmentProcessor>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CrashCABN.Metadata
Assembly: CrashCABN.Metadata.Attachments.dll
Syntax
public record AttachmentProcessor : IAttachmentProcessor, IEquatable<AttachmentProcessor>

Constructors

View Source

AttachmentProcessor(IAzureBlobProvider?)

The default attachment processor.

Declaration
public AttachmentProcessor(IAzureBlobProvider? BlobProvider = null)
Parameters
Type Name Description
IAzureBlobProvider BlobProvider

Properties

View Source

BlobProvider

Declaration
public IAzureBlobProvider? BlobProvider { get; init; }
Property Value
Type Description
IAzureBlobProvider

Methods

View Source

Load(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.

Implements

IAttachmentProcessor
IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX